how to use dopoption's rot to rotate mesh
3026 6 0- igou
- Member
- 102 posts
- Joined: March 2013
- Offline
I just tried use expression “dopoption” to get rigidbody's position and rotation. then use those data to create attributes to a point:
dopoption“Position” > position
dopoption“Rotaion” > normal
then use a copy to move the spheres. ( I want sphere's motion and rbd's are same)
http://youtu.be/er3ZdIoIv00 [youtu.be]
the position is very well but rotation is not. how to use the “dopRotation” correctlly? can someone give me a help, please.
thank you!
dopoption“Position” > position
dopoption“Rotaion” > normal
then use a copy to move the spheres. ( I want sphere's motion and rbd's are same)
http://youtu.be/er3ZdIoIv00 [youtu.be]
the position is very well but rotation is not. how to use the “dopRotation” correctlly? can someone give me a help, please.
thank you!
- tamte
- Member
- 8832 posts
- Joined: July 2007
- Offline
you can't just use euler rotation values as N, you need to convert it to quaternion and export as orient attribute to get proper orientation
but as an easier method you can use Dop Import Records SOP to import points and data from RBDs (it contains all necessary data like position, orientation, pivot, …) and use that directly for the copy so no expressions necessary
fixed file with both methods
but as an easier method you can use Dop Import Records SOP to import points and data from RBDs (it contains all necessary data like position, orientation, pivot, …) and use that directly for the copy so no expressions necessary
fixed file with both methods
Tomas Slancik
FX Supervisor
Method Studios, NY
FX Supervisor
Method Studios, NY
- igou
- Member
- 102 posts
- Joined: March 2013
- Offline
- igou
- Member
- 102 posts
- Joined: March 2013
- Offline
- charles Li
- Member
- 2 posts
- Joined: July 2013
- Offline
- charles Li
- Member
- 2 posts
- Joined: July 2013
- Offline
- igou
- Member
- 102 posts
- Joined: March 2013
- Offline
-
- Quick Links