Jump to content

Is there a way to retrieve an object "orientation"


Recommended Posts

Hello,

 

so I wanted to know if it is possible to retrieve the orientation of an object.

By orientation, I am not talking about the facing direction you retrieve with "entity.Transform:GetRotation()", I am talking about the "tilt" in the (x,y) plane.

 

For example, when you have an object equipped in hand and you are idle, some animations are played during which the object in hand rotates. Is it possible to retrieve these kind of angles?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
  • Create New...