Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Standard Character Controller #73

Open
DennisSmolek opened this issue Apr 14, 2024 · 0 comments
Open

Standard Character Controller #73

DennisSmolek opened this issue Apr 14, 2024 · 0 comments

Comments

@DennisSmolek
Copy link
Collaborator

The current character controller is a Virtual Character controller, best suited for main Character with inputs.
Jolt actually has a standard character controller that acts within the physics simulation, and is best for things like NPC's or objects moving in the world.

From the Jolt Docs:

The Character class is the simplest controller and is essentially a rigid body that has been configured to only allow translation (and no rotation so it stays upright). It is simulated together with the other rigid bodies so it properly reacts to them. Because it is simulated, it is usually not the best solution for a player as the player usually requires a lot of behavior that is non-physical. This character controller is cheap so it is recommended for e.g. simple AI characters. After every PhysicsSystem::Update call you must call Character::PostSimulation to update the ground contacts.

See the Jolt Docs for more details

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant