Przejdź do głównej zawartości

Szukaj

Problem: invisible non-colliding object inside group changes group’s weight and causes unintended rotation

  • TAPgiles

    What might be happening is that it's using the centre of the overall group as the centre of mass. So then if one cube is off-centre, the centre of mass is off-centre. But the mover or whatever is centred to the original cube only? Something like that?

    It's not really about gravity, I think. I mean, even in space, if you put a thruster off-centre it will start rotating. It's more about mass.

    Try turning the density down all the way perhaps.

    Another way of doing all of this would be to have a tag in the movable object. Then have another group which teleports to that tag's position and rotation. That way it won't affect its physics at all.

  • kens8thnote

    Thanks for your reply Tapgiles. Turning the density all the way down doesn’t seem to be the way to go. The off centered cube now causes subtle vibration instead of rotation especially so when the cubes are far apart. I guess it’s because the density becomes really small but not zero?
    I have a question about your 2nd way. So you prepare cube A and a group containing cloned A and cube B and then replace A with that group? If A was moving, how do you transmit its speed and other information to that group?

Zaloguj się, aby dodać komentarz.