So i added some code to mode a node in the OnEvent function, but my code cannot accept events on the same time, like when i push up and then left, and i dont undestand what i am doing wrong.
Here is a sample of the code:
bool CDemo::OnEvent(SEvent event)
{
if (!device)
return false;
if (event ...
Search found 3 matches
- Fri Oct 05, 2007 2:59 pm
- Forum: Beginners Help
- Topic: OnEvent problem
- Replies: 1
- Views: 274
- Fri Oct 05, 2007 2:41 pm
- Forum: Beginners Help
- Topic: I am getting quite aggravated here! [camera movement topic]
- Replies: 8
- Views: 687
- Wed Oct 03, 2007 1:27 pm
- Forum: Beginners Help
- Topic: 16.Quake3MapShader climbing the stairs for a node
- Replies: 0
- Views: 174
16.Quake3MapShader climbing the stairs for a node
Hi,
I managed to make model1 move in the room with collision, but when the node reaches the stairs, it stoppes. What is different from the camera which makes a climbing effect when going over the stairs.
This is the code for collision for model1 and camera:
camera = sm->addCameraSceneNodeFPS(0 ...
I managed to make model1 move in the room with collision, but when the node reaches the stairs, it stoppes. What is different from the camera which makes a climbing effect when going over the stairs.
This is the code for collision for model1 and camera:
camera = sm->addCameraSceneNodeFPS(0 ...