🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

'pushing' an object via CharacterController (Unity()

Started by
0 comments, last by SassyPantsy 3 years, 7 months ago

hello friends,

tl;dr : similiar function to rigidbody.AddForce but using a CharacterController component

I'm trying to make a dodge-roll function in my game, and following a great tutorial (which I'll link) I've succeeded, with the exception of the fact that it uses rigidbody.AddForce to actuall make the player model move, and i've base my character movement on a CharacterController instead.

i know that the controllers have the .Move function, but it differs from AddForce by not "pushing" the object, but by “teleporting” it by the motion vector's amount.

i'm scratching my head as to how to make it work (move over time, rigidbody kinematic settnigs, etc) but i'm lacking enough knowledge about these components. :/

thanks for any help!

None

This topic is closed to new replies.

Advertisement