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 »

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: 4929
Joined: Tue Jul 04, 2006 4:45 am

Re: Can't you add compound to compound object

Post by Norbo »

(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 »

Thank you. :D :D :D
Post Reply