- Home /
Question by
berk_can · Aug 02, 2020 at 03:51 PM ·
physics2dforceplatform-support
AddForce on collision gives different results on different platforms
Hello everyone,
I have a spring which throws character to air when collided with it, I simply have AddForce function called on OnCollisionEnter function
private void OnCollisionEnter2D(Collision2D other)
{
body.AddForce(force);
}
This call has no dependency to framerate I presume because force is only added when collisionEnter is triggered and force is constant but there should be a problem or am I wrong?
I appreciate for any help, thank you
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613004716im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
how to have air control after a rocket jump? 0 Answers
increasing knockback of a rigidbody as received damage increases (like super smash) 1 Answer
rigidbody2D force or velocity? 2 Answers
Rotate object around certain point using phyics 0 Answers
Game Object is moving towards the left when fire button is pressed. 2 Answers