How to do silding on x or z in createCollisionResponseAnimto

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
AlaaBR9
Posts: 16
Joined: Sun Oct 21, 2007 8:47 pm
Location: syria/lattakia

How to do silding on x or z in createCollisionResponseAnimto

Post by AlaaBR9 »

How to do silding on x or z in "createCollisionResponseAnimator".
The default value of sliding is on y.
________
Ford Motor Company Of Argentina Picture
Last edited by AlaaBR9 on Fri Feb 25, 2011 2:42 am, edited 1 time in total.
rogerborg
Admin
Posts: 3590
Joined: Mon Oct 09, 2006 9:36 am
Location: Scotland - gonnae no slag aff mah Engleesh
Contact:

Post by rogerborg »

The "sliding" parameter is mis-named. It is used to determine the accuracy of the collision. Can you explain what it is that you want to do regarding "sliding"?
Please upload candidate patches to the tracker.
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
JP
Posts: 4526
Joined: Tue Sep 13, 2005 2:56 pm
Location: UK
Contact:

Post by JP »

I didn't think it was mis-named... it's just a value of how 'slippery' the walls are so that when you move alongside them if you have a high sliding value then you move along the wall easily, if it's a low sliding value then you find it difficult to move against the wall.

And it's not just sliding on the y axis, it's the same for all directions you move in.
Image Image Image
AlaaBR9
Posts: 16
Joined: Sun Oct 21, 2007 8:47 pm
Location: syria/lattakia

ok

Post by AlaaBR9 »

ok i understand sliding value that it is determine :
decrease body speed gradually until stop move.
________
Vaporizer Affiliates
Post Reply