Can't you add compound to compound object

Discuss any questions about BEPUphysics or problems encountered.
Post Reply
parapoohda
Posts: 92
Joined: Fri May 31, 2019 6:30 am

Can't you add compound to compound object

Post by parapoohda » Fri Jan 31, 2020 5:55 am

I try to add compound to compound because I try to replicate Unity local Position. But it tell me Compound can't be use as TShape.
Is this work as you expect? Or I do something wrong.

Should I use global position and transform instead of local?

Thank you. :D :D

Norbo
Site Admin
Posts: 4888
Joined: Tue Jul 04, 2006 4:45 am

Re: Can't you add compound to compound object

Post by Norbo » Fri Jan 31, 2020 4:02 pm

(Big)Compounds contain flat lists of convexes and cannot contain other compounds, that's correct.

You can indeed bake a local position into the child offsets to get the same effect.

parapoohda
Posts: 92
Joined: Fri May 31, 2019 6:30 am

Re: Can't you add compound to compound object

Post by parapoohda » Sat Feb 01, 2020 2:08 am

Thank you. :D :D :D

Post Reply