Translating a set of Rigid Bodies

Hey all,

I’ve been working on a mini golf prototype for an AR experience I’m trying to work out. Right now I want to be able to translate the entire game within the AR. I’ve set up a group that holds all of the geometry and collisions but whenever the group is translated via script that translates it 1 in the x direction, some of the mesh will go but others will not such as the ball. Let me know if you have ever seen this issue. I was under the impression that I should be able to translate the entity that holds the whole game and it shouldn’t affect anything within. Let me know if you have any ideas.

Right now it works like this:

  1. Tap to make the game spawn.
  2. Tap to make the game translate to the right. All of the translations and game becoming visible are within the “touch.js” code

You need a smartphone to test it. Here is the project :

If any of the child entities have dynamic rigidbodies, they basically exist in the physics world and have their positions overwritten during the physics simulation update.

Haven’t tried it myself but I think you might be able to get away with translating the parent entity and then teleporting all the dynamic rigidbodies children to the new entity’s world position.