I had completely missed that angles were in radians...
Shame on me...
Maci
Search found 3 matches
- Wed Jul 24, 2019 7:08 am
- Forum: Questions and Help
- Topic: Quaternion issue
- Replies: 5
- Views: 12089
- Tue Jul 23, 2019 1:09 pm
- Forum: Questions and Help
- Topic: Quaternion issue
- Replies: 5
- Views: 12089
Quaternion issue
Hi all, I have the following code fragment; var body = new BodyReference(BodyHandle, characters.Simulation.Bodies); ref var pose = ref body.Pose; pose.Orientation = Quaternion.CreateFromYawPitchRoll(input.CameraAngle, 0, 0); Quaternion.TransformUnitZ(pose.Orientation, out var viewDirection); Quatern...
- Mon Jul 15, 2019 8:34 am
- Forum: General
- Topic: Different callbacks for different (conceptual) body types
- Replies: 1
- Views: 14767
Different callbacks for different (conceptual) body types
Hi everyone, let's say (for simplicity) that in my game there are two types of objects that a player can provide input to, a humanoid figure and a car. what would be the best strategy for managing different callbacks for the two object types? If I were to "merge" the character demo callbac...