Jump to content

packed primitive, transforming inactive objects


doc

Recommended Posts

Hi,

 

Basically I want to have transforming (not deforming) collision objects in my bullet sim.

 

I was wondering if anyone has ever done this before. I was thinking I could compute transformation matrices for 

each piece and stuff them into a point attribute on the packed primitive. Then maybe I could use those

transformations in a sop solver to move thine inactive pieces.

 

Has anyone done this before? Does anyone have a better suggestion for doing this?

 

Regards,

Doc 

 

Link to comment
Share on other sites

Instead of setting inactive pieces you can set mass and density of collision pieces to zero. Then you can use v and w attributes to control your pieces. They will behave like colliders without self collision but bullet will update their positions based on their attributes.

 

Good luck

Edited by rayman
Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...