How do I move the origin of collision half-extents

I know you can add a wrapper entity and use that as your collision, but that just isint very practical, when you have to do that for 50+ entitys, and you have to juggle the script logic between the parent wrapper and the visible model child. There has to be a way to just move the collision cube up or down independent of the entity.

1 Like

Hi @Austin_Michaud and welcome!

If you mean in editor, sadly there isn’t a way. Though definitely a good feature request, you can post it on the Playcanvas editor issue tracker.

In code you may be able to update the center of the collision shape used but that will require some patching of the collision component generation code.