- Home /
Question by
GoodArcade · Aug 07, 2013 at 05:07 AM ·
charactercontrollergravityplatform
How can i update an objects direction of gravity based on its local rotation?
Hello everybody!
I have a character that needs to jump on platforms that rotate in all angles.
I can make him stick to a moving platform but he falls if the platform rotates over 90 degrees. Gravity is still global...
How can i make gravity local rather than global?
I am using the same Character controller script as the one in the docs. Can somebody please help me? :)
Comment
do the platforms rotate to where they are no longer a ground for your character to stand on? Character controllers cant rotate, if u want crazy gravity like in mario galaxy you have to use a rigidbody no way around it. If this isn't the problem then please post your code.