Confusing ExternalForce function parameters (apply_force_at_point) #531
Unanswered
Sergi-Ferrez
asked this question in
Q&A
Replies: 1 comment
-
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.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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