I have a physics group called ground. This physics groups provides a floor, ceiling, and walls to enclose a user controlled car. I have several objects in very specific locations with relation to this ground group. Most of these objects are sensors. I want to be able to rotate the ground group and keep all objects in their specific location with relation to ground. So, if ground rotates, so too does each object while staying in their relational location.
I’ve tried grouping the objects into another group, but the physics bodies do not like that.
I’ve also tried rotating the entire sceneGroup, but that also rotates gravity with it and throws the camera out of wack.
I’m thinking finding a relational algebraic equation to constantly update each objects x, y, and rotation is probably the answer… but I haven’t given up on groups, so I haven’t gone down that rabbit hole just yet.
The reason I think groups are still in play is because everything rotates fine when I rotate the sceneGroup, so I’m probably not grouping things in the correct order. I’ve tried multiple different grouping orders, but still no luck.
If anyone out there has any suggestions, I’d be very appreciative.