Euler/Entity Rotations (Reldist)

Posted By: 82RJZAE

Euler/Entity Rotations (Reldist) - 08/03/08 06:16

What code would be used to rotate an entity by the Euler (or Entity Co-ordinance) Angles using the Physics System as well.

It is possible to move the entity by its co-ordinance using c_move (reldist movement), but this cannot be used when the Physics Engine is used.
Posted By: Tobias

Re: Euler/Entity Rotations (Reldist) - 08/03/08 10:53

In the physics system you can not set an entity directly to an angle, instead you apply torque for rotating.

Or else, you disable the entity (phent_enable), then rotate it and then enable it again.
Posted By: 82RJZAE

Re: Euler/Entity Rotations (Reldist) - 08/03/08 22:41

Alright, thanks for the ideas there Tobias.
© 2023 lite-C Forums