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

adding impulses #399

Open
brightening-eyes opened this issue Sep 5, 2024 · 1 comment
Open

adding impulses #399

brightening-eyes opened this issue Sep 5, 2024 · 1 comment

Comments

@brightening-eyes
Copy link

hello,
impulses can be used to have hits, explosions etc.
reactphysics has the ability of applying forces/torques, but not impulses.

@m-doescode
Copy link

m-doescode commented Dec 2, 2024

Maybe I'm being stupid but surely you could just use rigidBody->setVelocity(rigidBody->getVelocity() + Vector3(your impulse here))?

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

2 participants