DomenicDev/Crucified

Displaced physics collision shape for fences

Closed this issue · 1 comments

It seems like that the collision shapes for the fence models are not placed at the real position of the fence. Something could be wrong with the rotation?!

The issue was caused because we set the shape type to box-shape. This took the world bounding box instead of the local one which made a stretched bounding box collison shape for that model. The collision shape is correct if the local rotation is set to zero though. However, we now use mesh shape instead.