Adding Schemas to multiple primitives

   357   2   1
User Avatar
Member
1535 posts
Joined: March 2020
Offline
Hi hi

I'm trying to figure out the best solution to add "PhysicsCollisionAPI" data to multiple primitives/meshes for Unreal Engine exports.

Is there a easy way to use `lopinputprims('.', 0)` on the Inline USD LOP?
Or do I have to figure out a python solution of sorts?


Thanks
J

Attachments:
Screenshot 2024-10-14 153644.png (89.5 KB)

HOD fx and lighting @ blackginger
https://vimeo.com/jasonslabber [vimeo.com]
User Avatar
Staff
501 posts
Joined: June 2020
Offline
I'd do it with a Configure Primitive LOP to add the schemas and an Edit Properties LOP to set the values.
Edited by robp_sidefx - Oct. 14, 2024 17:44:37

Attachments:
physics.png (782.6 KB)

User Avatar
Member
1535 posts
Joined: March 2020
Offline
Hiya
Thanks Rob, definitely simpler than I thought it was, I had the Configure prim working, I just wasn't sure how to add the collision approximation.
HOD fx and lighting @ blackginger
https://vimeo.com/jasonslabber [vimeo.com]
  • Quick Links