Jsmidlow Posted April 11, 2022 Share Posted April 11, 2022 Hi. I have a setup with boxes scattered in a circle position. Inside rbdbulletsolver i try to use LookAt in order to force boxes always face the center while they move around. But fo some reason look at rotates all boxes. I know there must ne something with up vector but cant fiure out by myself. I tried to different options within look at and tried to assign different up values but still cant figure out how to make look at force objects to actually look in the center of coordinates without weird rotation. Please... help The file is attached. untitled.hip Quote Link to comment Share on other sites More sharing options...
Librarian Posted April 11, 2022 Share Posted April 11, 2022 (edited) @Jsmidlow 'Lookat' gives orient attribute not Up or? velocity and without v hm hm Thanx for File a likeTarget.hiplc Edited April 11, 2022 by Librarian 2 Quote Link to comment Share on other sites More sharing options...
Jsmidlow Posted April 11, 2022 Author Share Posted April 11, 2022 @Librarian Thanks for the answer. But when I pick a target and run simulation. Boex start rotating around themselves. Instead I want the to keep being oriented like in initital position. So that they keep on following particles, collide with each other as rbd objects face the target in the center but without rotation around its loval center. Quote Link to comment Share on other sites More sharing options...
Librarian Posted April 13, 2022 Share Posted April 13, 2022 hm what happens if you make rot attribute and use that in vex like , just wondering.. @orient = eulartoquaternion(radians(@rot),XFORM_XYZ); Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.