Velocity Orient in RBD simulation by using poplookat

   430   0   0
User Avatar
Member
20 posts
Joined: June 2019
Offline
Hello guys, I'd like to have the orientation of each packed object in my simulation follow my attribute "v" (align the z-axis and velocity of each piece). Therefore, I wrote "target=@v;" in the poplookat's vex setting, but I found that if I randomize the orientation of my packed objects before simulating, the previous "target=@v;"setup cannot make each piece's z-axis follow my v. It seems that the poppookat will only work when the z-direction of each piece align with the z-axis of the world coordinate. I'd like to ask how to use the randomized orientation attribute I set in the initial state to align the orientation with velocity of each piece in Poplookat.
Edited by ILIAZHAO - Nov. 24, 2023 09:44:48

Attachments:
velocity_orient2.jpg (409.1 KB)
velocity_orient1.jpg (353.9 KB)

  • Quick Links