GameObject velocity

Hey there !
Is there a way to change the velocity of a gameObject in TS ? I’m testing collisions, but as I move an object by modifying its transform position directly, I can still pass through other objects. Normally I would add force (to velocity) to make a movement instead of straight changing the object’s position.

Original Post on Discord

by user 615280976855171083

The Rigidbody component has some methods for that (assuming youre using Rigidbodies when talking about collision?)
image.png

Yes ! Ohh I simply have to get the Rigibody component. Cool ! :sparkles:

by user 615280976855171083