Is there a way to get the rotation of an Entity?
I use RotateEntity() to set the rotation but I diden't find a way to read the rotation of an Entity.
I use Purebasic 5.42 LTS x64
/Ampli
GetEntityRotateX(#Entity)
Re: GetEntityRotateX(#Entity)
it is EntityPitch, EntityYaw, EntityRoll
as an example EntityYaw gives the rotation angle in degrees around Y axis
look the picture in http://theboredengineers.com/2012/05/th ... er-basics/
there is an example CopyAngle.pb : the right robot follow the left robot as it rotates in all the 3 directions.
as an example EntityYaw gives the rotation angle in degrees around Y axis
look the picture in http://theboredengineers.com/2012/05/th ... er-basics/
there is an example CopyAngle.pb : the right robot follow the left robot as it rotates in all the 3 directions.
Re: GetEntityRotateX(#Entity)
Yes, Thank you so much, I don't know how I missed that, It works great now.

