Simple rotation.
Posted: Sat Apr 26, 2014 4:36 am
What Im trying to do, is to get the rotation of the physics object, in either radians, or degrees(would prefer degrees).
Ive tried: (PhysObj=physics object referencing)
PhysObj.Orientation.Y
PhysObj.OrientationMatrix.M11 (m11,m12,m13)
PhysObj.OrientationMatrix.Up.Y (Forward.Y, Down.Y)
PhysObj.AngularMomentum.Y (returns momentum, but I want radians or degrees)
I know there are several hundred posts asking the same, but i'm still lost...
I dont know if it how im calling it? im just using each new created physics object in array as: Box[] toAdd = new Box[100]; which works great. just cant get the angle how I want.
other than this issue, really liking BePu physics..
Ive tried: (PhysObj=physics object referencing)
PhysObj.Orientation.Y
PhysObj.OrientationMatrix.M11 (m11,m12,m13)
PhysObj.OrientationMatrix.Up.Y (Forward.Y, Down.Y)
PhysObj.AngularMomentum.Y (returns momentum, but I want radians or degrees)
I know there are several hundred posts asking the same, but i'm still lost...
I dont know if it how im calling it? im just using each new created physics object in array as: Box[] toAdd = new Box[100]; which works great. just cant get the angle how I want.
other than this issue, really liking BePu physics..