- Home /
Changing Gravity direction towards rotating floor
Hi, I'm working on a project where I have a floor which has some objects above it. These gameobjects have rigidbody and gravity, however the floor changes its rotation on the play and I want gameobjects above it to have somehow a local gravity based on the axis on this floor. I know I can add a force towards the floor to simulate the gravity but for some other logic in the game I can't do that and I want to change Physics.gravity vector to achieve this result.
I'll appreciate if you can help me with this.
Thanks
Your answer

Follow this Question
Related Questions
Setting a RigidBody's velocity messes with my custom gravity, not sure how to proceed. 0 Answers
Where is the general Rigidbodies Drag? 3 Answers
How To Set Individual Rigidbody Gravity [Solved] 3 Answers
Rigidbodies getting stuck in non moving objects 0 Answers
Any way to have gravity not act on child but act on its parent? 2 Answers