Basic User Input for controls?

Irrlicht.Net is no longer developed or supported, Irrlicht.Net Cross Platform is a much more complete wrapper. Please ask your C# related questions on their forums first.
Locked
qp
Posts: 5
Joined: Thu Feb 08, 2007 4:21 pm

Basic User Input for controls?

Post 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.
cypher543
Posts: 78
Joined: Sat Apr 15, 2006 5:24 pm
Location: Missouri, USA
Contact:

Post by cypher543 »

In the "examples.net/Examples_CSharp" directory, there is a file called "example04.cs". It demonstrates basic movement with Irrlicht.NET.
qp
Posts: 5
Joined: Thu Feb 08, 2007 4:21 pm

Post by qp »

Ah, I missed that...thanks!!
Locked