- Home /
Question by
Fysty · Jun 15, 2019 at 08:17 PM ·
2d gamecollider2dtransform.positionplayer movementcollision2d
Use transform.position in FixedUpdate to ensure collision with objects which have Velocity
Hello everyone,
Currently I move my character with transform.position to go through slopes easily and move the other objects using rigibody.velocity, and I had no problems with collisions . I want to know if i put the transform.position in FixedUpdate, the collisions with objects which have Velocity will always work right or i need to move my character only using rigibody.velocity ?
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612203250im_/https://answers.unity.com/themes/thub/images/avi.jpg)