Irrlicht Smooth movement in VB.net Solved

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
DGENXP
Posts: 124
Joined: Tue Dec 27, 2005 2:49 am
Contact:

Irrlicht Smooth movement in VB.net Solved

Post by DGENXP »

Hi I would like to thank you all for your sugestions but i have figured it out

please feel free to use the below code if you are having any probs


node.Position = (New Vector3D(XP, YP, ZP)).GetInterpolated(node.Position, 0.3) ' This belongs in the while loop

There maybe a more simple way but this will do the job just fine

Tell me please if you think you know of a more simple way or just generally what you think
irrman

Post by irrman »

Sorry, but i think you are the only one with that problem !

Why dont you simply set a new Position based on the old one?!

Node.Position = Core.Vector3D.op_Addition(Node.Position, New Core.Vector3D(0,0,10) for example....

And make it depend on the time?!
DGENXP
Posts: 124
Joined: Tue Dec 27, 2005 2:49 am
Contact:

Post by DGENXP »

hi again

thank you for that last post but i feel that the code i created is much more simplified for me and i feel that this does the job just as well as that code would

thank you anyways
Locked