Moving static physics object hierarchy with Physics V2

Hi there!
I am having fun with the new Physics API (it’s awesome btw) and i’m wondering how I can move static objects together using parenting or lock constraints.

I replicated my situation here:
Playground

Basically I would expect the static ground to move with the static cube as there is a lock joint but only the cube is moving upward.

I also tried using classic parenting but it wouldn’t move the ground either. If anyone knows what I am doing wrong ^^’

Hi, you can try to set mass to 1.0 for groundAggregate.
Static parenting with physics | Babylon.js Playground (babylonjs.com) . Maybe there is other solution.

2 Likes

Alright that works! Thank you very much :slight_smile: