Confusing ExternalForce function parameters (apply_force_at_point) #531
Unanswered
Sergi-Ferrez
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Hi, I appreciate this is very old, but this is what I do: ef.apply_force_at_point(
transform.affine().transform_vector3(self.force),
transform.affine().transform_vector3(self.pos),
Vec3::ZERO,
); All of the parameters are supposed to be in local space, but it doesn't account for rotation, hence my transformation |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm a little bit confused about the
apply_force_at_point
parameters, these are the parameters of the function:I think it's a little confusing for newcomers to try to understand, someone can help me to identify the correct parameter values?
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions