How to move children

I just want to move all children of an entity, like this but actually working


Where are you using that code? That will set the entity to that position in a single frame, it will not move/animate it, just reposition it.

And the correct code to move all children is like this using a loop:

this.entity.children.forEach(child =>{

Yes, moving them all in a single frame is my goal. And it works so thank u.

1 Like