🤔

Transform manipulation#

If you are moving dynamic rigidbodies via their transforms they are likely not interacting with the physics engine, and depending on the implementation may only resolve penetrations.

Using transform.position to move objects bypasses the physics simulation step.
By instead using AddForce, or MovePosition, colliders will produce collisions and triggers.
These methods should generally be called from FixedUpdate.


My rigidbody is still tunnelling through walls.