Jump to content

Bullet Heightfield collision


nuki

Recommended Posts

Doing some Bullet/Heightfield collision and it seems like bullet uses unusual basis vectors for the heightfield lookup? I have to transform the sim data (ry90, sx-1) coming out of the dopnet so it will line up with the heightfield again. Even though the terrain & packed objects show up in their correct orientation inside the dopnet.

heightfield_collision.hiplc

dopnet.JPG.cdd0f8b41014248ef651bd3b030ebc60.JPGpost_trans.JPG.fb1e43419292ccf36ec780424ab03362.JPG

Link to comment
Share on other sites

1 hour ago, Skybar said:

It's something with transforms. If you look inside the HeightField File SOP, it samples the COP in the XY Plane and then transforms it to ZX. If you do that too it will work.

Just like that, thanks a lot!

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...