About Store Forum Documentation Contact



Post Reply 
Controller question.
Author Message
Salival Offline
Member

Post: #1
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 smile?

Thanks.
(This post was last modified: 05-28-2010 02:02 PM by Salival.)
05-28-2010 01:34 PM
Find all posts by this user Quote this message in a reply
Salival Offline
Member

Post: #2
RE: Controller question.
Esenthel or anyone got any idea ?
05-28-2010 05:05 PM
Find all posts by this user Quote this message in a reply
Harry Offline
Member

Post: #3
RE: Controller question.
Try this in Init()

Physics.create(CSS_MATERIALS);

About speed maybe this thread helps you:
http://www.esenthel.com/community/showth...ht=1+meter
You can also check this search results:
http://www.esenthel.com/community/search...order=desc
05-28-2010 05:28 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Salival Offline
Member

Post: #4
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
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #5
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
Find all posts by this user Quote this message in a reply
Post Reply