Salival
Member
|
Controller question.
The character Controller, When you move in fast speed using actionMoveDir and you break the movement, it still "Slide" along for some units, How can I stop on the same place when actionBreak is called?
Thanks.
Like when I setup my character speed to 128, Then check the distance to my target position, And when it reach the target it break the movement using actionBreak. But it still move forward some units because of the speed it moves in.
Other question I have is:
speed = 128, Is this 128 units / second? or how does this engine handle it?
I want to setup my char to move 128 units / second.
1 Meter = 1 world unit? And how many meters / second does the character move if I setup the speed to 128?
Any help ?
Thanks.
(This post was last modified: 05-28-2010 02:02 PM by Salival.)
|
|
05-28-2010 01:34 PM |
|
Salival
Member
|
RE: Controller question.
Esenthel or anyone got any idea ?
|
|
05-28-2010 05:05 PM |
|
Harry
Member
|
|
05-28-2010 05:28 PM |
|
Salival
Member
|
RE: Controller question.
I can't find any answer about how fast you move / second.
Esenthel, This is really important for me and if you can write some sample how to calculate or find out how to make the char moves like 16 world units / seconds it would be great.
Thank you.
|
|
05-31-2010 01:18 PM |
|
Esenthel
Administrator
|
RE: Controller question.
to stop the character from sliding you can try modifying its actor velocities
speed=meter/second
but for Chr you have gravity, friction, damping, etc. which modifies the final value
|
|
06-01-2010 07:18 PM |
|