I am using Crystal Space and CEL for a simulation(http://www.crystalspace3d.org/forum/index.php/topic,1490.0.html
). Since I need the simulation time to be independent of real time, I adjusted the Virtual Clock for my needs, so that with every Advance the clock advances exactly 10ms.
But now I have run into a problem. I am using a CEL Player Entity for my robot. I used PcActorMove to move my robot around. I change the speed depending on an algorithm and I have my own calculations to restrict the robots acceleration. But now I noticed that PcActorMove restricts acceleration. I can't just punch in a velocity of 1.0 and the robot immediatly moves at 1.0 speed, but it slowly accelerates.
I am using the Coordinates of the camera to determine where my robot is [pccamera->GetCamera()->GetTransform().GetOrigin()]. So maybe just the camera is accelerating slower and I can get the correct Coordinates somewhere else?
I am not sure I could properly explain the situation, so I will give an example what the desired effect is: I do
Then I let the simulation run for exactly 1 (simulated) second, I want the change in position of the robot (and the robot camera) to be exactly 1.0 distance units away from the starting point. Is there any way to achieve that? Where is the restriction of the acceleration located?