bryanedds / Nu

Repository hosting the open-source Nu Game Engine and related projects.
MIT License
1.05k stars 151 forks source link

Attempt to roll our own bullet physics character controller in F#. #744

Closed bryanedds closed 3 months ago

bryanedds commented 3 months ago

This existing one is implemented in C# (BulletSharp.KinematicCharacterController) and seems to have some limitations and can't be modified by end-users. Let's see if we can write one in F# based on its code.

Also, I've noticed that the current out-of-box kinematc character controller is extremely slow. Just 50 of them kills the frame rate, so maybe the one we roll could be more performant, too.

bryanedds commented 3 months ago

Some links on character controller knowledge: https://dev-room.blogspot.com/2015/03/some-example-works-like.html https://www.gamedev.net/forums/topic/686015-simplest-3d-physical-character-controller-solution/ https://docs.panda3d.org/1.10/python/programming/physics/bullet/character-controller https://www.pierov.org/2020/05/23/dynamic-character-controller-bullet/

bryanedds commented 3 months ago

Placed in perf issues doc instead.