-
Notifications
You must be signed in to change notification settings - Fork 303
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
How to apply force to a body? #56
Comments
Forces are directional, hence your force should be a vector3 too. Line 425 in 159ef4e
|
@w84miracle thanks for reply, have you some example to show how this works? |
has other way to apply force except body.applyImpulse ? |
no look code in |
maybe your impulse is no strong enouth to jump |
force in oimo needs to be updated in every frame. no update will not see the effect. |
for example, i want a ball move to right side,
and i have tried to use body.applyImpulse ({
x:0, y:0, z:100
}, 10);
unfortunately it dosen't work.
BTW: how to make a ball jump in this case?
The text was updated successfully, but these errors were encountered: