Hi,
I'm using rigid body API, but i create the rigid body definitions in your application "optitrack rigid body tool".
So i have the following problem: i need to assign a specific local coordinates system, but i noticed that rigid body create this sistem parallel to the global one. Can I rotate it?
I also noticed that ARENA allows this post-rotation, but the format of the rigid bodies created isn't ".rdef", so i think that it is impossible to use them with RB API.
Thanks
Alex
Local coordinates system
-
- Posts: 19
- Joined: Wed Jul 16, 2008 1:53 pm
- Location: Italy, Rome
Re: Local coordinates system
That's true. There is no way to automatically translate or rotate the rigid body after the definition. You'll either need to manually rotate the data in the rdef file or position the rigid body relative to the world coordinate system.
-
- Posts: 19
- Joined: Wed Jul 16, 2008 1:53 pm
- Location: Italy, Rome
Re: Local coordinates system
Thank you Doug, it's a good idea to modify the .rdef.
Is it right to change the values like: ModelRotX="0.000000"??
I mean, are they the parameters that express the rotation between local and world coordinate system? I think that zero is the default value that Rigid Body Tool gives to them, is it right to modify this?
Is it right to change the values like: ModelRotX="0.000000"??
I mean, are they the parameters that express the rotation between local and world coordinate system? I think that zero is the default value that Rigid Body Tool gives to them, is it right to modify this?
Re: Local coordinates system
ModelRotX only rotates the 3D model that is loaded and being displayed over the rigid body. The rigid body orientation would remain unchanged.
-
- Posts: 19
- Joined: Wed Jul 16, 2008 1:53 pm
- Location: Italy, Rome
Re: Local coordinates system
Ok, so what do you mean with "manually rotate the data in the rdef file"?
Re: Local coordinates system
Yeah, it's not very elegant rotating points around the origin manually. It would be much easier to orient the rigid body relative to the capture volume prior to defining the rigid body.