Moving Physic-Objects
Posted: Sun Apr 26, 2009 9:01 pm
Hallo,
I have a very simple question, but I do not get it running, as I want:
I simply want to move an Entity by a program, let's say a platform, that goes up and down automatically. When I use the move or moveTo function on that entity, the physic seems not to work properly. For example, when something hits the platform it is not moved up or down correctly. The I tried to simulate the moving by using the velocity function. That worked, but it is not as correct, as using move.
So how do I move entity objects correctly?
I have a very simple question, but I do not get it running, as I want:
I simply want to move an Entity by a program, let's say a platform, that goes up and down automatically. When I use the move or moveTo function on that entity, the physic seems not to work properly. For example, when something hits the platform it is not moved up or down correctly. The I tried to simulate the moving by using the velocity function. That worked, but it is not as correct, as using move.
So how do I move entity objects correctly?