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

the setLinearVelocity for btKinematicCharacterController is not exposed #341

Open
x1911 opened this issue Nov 10, 2020 · 2 comments
Open

Comments

@x1911
Copy link

x1911 commented Nov 10, 2020

Hi,

the physic body from btKinematicCharacterController cant setLinearVelocity,

if I want to do double jump or the recoil force

thanks

@MackeyK24
Copy link
Contributor

I dont think the character controller has an actual btRigidBody... is use a ghost object in the physics world.

	btPairCachingGhostObject* m_ghostObject;

So if you wanted to HIJACK the ghost object and do what need with that.

@suddenly4
Copy link

suddenly4 commented Dec 18, 2024

setLinearVelocity

setLinearVelocity possible for dinamic shapes, but not kinematic body. If you want jump for kinematic - you need set and update transform object

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

No branches or pull requests

3 participants