Page 1 of 1

Basic User Input for controls?

Posted: Fri Feb 16, 2007 2:40 am
by qp
Okay I have a silly little project in C# so far it creates a node with an md2 model and it bounces up and down with basic physics calculations.

I'm fairly new to C#...okay very new...and I'm not sure how to check for user input and do something with it. Like if they press up I'd like to update a variable or something (ucavVel.Y+=10 or something like that)

I'm a bit fuzzy on events and event handlers etc.

Posted: Fri Feb 16, 2007 10:12 pm
by cypher543
In the "examples.net/Examples_CSharp" directory, there is a file called "example04.cs". It demonstrates basic movement with Irrlicht.NET.

Posted: Sat Feb 17, 2007 2:34 pm
by qp
Ah, I missed that...thanks!!