Flip/rotate game object with many children and collision (SOLVED)

#1

Looks like this is a known bug (DEF-1117). Rotating y of the game object cause collision shapes to become upside down.

Is there any workaround for this?
Separating collider to different game object and moving them at the same time is not a quite practical solution I guess :confused:

go.set_rotation(vmath.quat_rotation_y(math.rad(180)))

3742

3 Likes

#2

Put sprites on sub GO and flip that instead of the parent (or flip the sprites directly).

3 Likes

#3

sub go do the trick, thank you @Pkeod

2 Likes

#4

What did your recent investigation result in @Mathias_Westerdahl? Was it more complex to fix than we initially thought?

0 Likes

#5

It was a bit more complicated than I initially thought. It requires some design/discussion with the team. But I want (and hope) to fix it this sprint or the next at least.

4 Likes

#6

Physics flip added in 1.2.161

1 Like