- Home /
Question by
Tom-Featherhill · Aug 24, 2015 at 11:51 AM ·
rotationcharactercontrollerunity5
Movement Relative to Rotation With Character Controller
Heya! I've recently learned how to match an object to a normal. I needed this in order to create a Sonic the Hedgehog-esque loop-de-loop. I realised that the controls I use in my script ( CharacterController.Move(Vector3*Delta.Time)
) is not relative to the rotation. This causes the player object to become stuck on the first quarter on the loop (90 degrees) because the gravity and forward force doesn't let the object go up.
Is there any way to move an object, using the Character Controller, that is relative to its rotation? I don't really mind which programming language you answer. Thank you in advanced!
Comment