Tumle Help

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
anandh
Posts: 61
Joined: Thu Sep 14, 2006 12:40 pm
Contact:

Tumle Help

Post by anandh »

help me in moving my enemy character in a defined path.
how to move the physics node.
using the 05 - Controllable player is moving perfect.
if i call setVelocity it is not moving.
may be it is wrong way.what is the perfect method to move a physics node in a defined path.

and

How to set material value to achieve jump pad effect
Gianni
Posts: 48
Joined: Sat Mar 22, 2008 9:24 am

Post by Gianni »

To put the material to a node, we have 3 ways:

Code: Select all

node->setMaterialFlag(EMF_LIGHTING, 0);
node->setMaterialTexture()
node->setMaterialType()
anandh
Posts: 61
Joined: Thu Sep 14, 2006 12:40 pm
Contact:

Post by anandh »

Gianni,i mean Newton material friction , elastisity ,.....
twilight17
Posts: 362
Joined: Sun Dec 16, 2007 9:25 pm

Post by twilight17 »

Code: Select all

int i = NewtonMaterialGetDefaultGroupID(nWorld);
NewtonMaterialSetDefaultElasticity (nWorld, i, i, 0.3f);
NewtonMaterialSetDefaultFriction   (nWorld, i, i, 0.8f, 0.4f);
?
Post this userbar I made on other websites to show your support for Irrlicht!
Image
http://img147.imageshack.us/img147/1261 ... wernq4.png
Post Reply