nicholas-maltbie / OpenKCC

Open Source Kinematic Character Controller for Unity
http://nickmaltbie.com/OpenKCC/
MIT License
627 stars 60 forks source link

[Add custom behaviour like climb] #219

Open mrpacogp opened 1 year ago

mrpacogp commented 1 year ago

Is your feature request related to a problem? Please describe. I think a bit of documentation or any way to add features like climbing etc could be fine

Describe the solution you'd like Im trying using third person controller to do a raycast and climb using animation and interpolation of pos but looks so ugly.

Describe alternatives you've considered disable kcc while doing the animation

Additional context Im ttesting using kcc + fusion to get something funny, but when i code my third person controller i cannot get kcc working like i want,

nicholas-maltbie commented 1 year ago

Hey @mrpacogp , there is an example of this in the project at https://github.com/nicholas-maltbie/OpenKCC/blob/main/Assets/Samples/MoleKCCSample/Scripts/MoleMovementEngine.cs

But having some nicer documentation on how to add climbing and other common movement methods like flying, swimming, etc... would be a great example to add. It might take a bit but I'm happy to include that in the future.

Probably good to add more details to this page in particular: Make Your Own KCC

fn3x commented 1 year ago

Hi, @nicholas-maltbie. That would be awesome if you make that documentation or/and make a video explaining! By the way, you've made an excellent work with this project. Starting to dig into it. Keep up the good work! Thanks.