Posted By: Blobfist
get speed - 04/03/18 01:51
Hello everybody,
I was wondering how I could get the actual speed on an entity (moving using c_move).
The actual speed is needed in order to determin, if the entity is moving of not, aka. is potentially stuck or not.
I could only find commands to get the speed of PhysX objects in the Manuel, which unfortunately did not explain the build up.
Speed = distance/time, so is it possible to get the value of the x and y axis of the entity every frame, without killing the memory?
Please help me out.
I was wondering how I could get the actual speed on an entity (moving using c_move).
The actual speed is needed in order to determin, if the entity is moving of not, aka. is potentially stuck or not.
I could only find commands to get the speed of PhysX objects in the Manuel, which unfortunately did not explain the build up.
Speed = distance/time, so is it possible to get the value of the x and y axis of the entity every frame, without killing the memory?
Please help me out.