Velocity of rigidbody

can’t we acess velocity of rigidbody if we use kinematic one?
in my case its just have the value 0,0,0.

Hi Rahul,

Welcome to our community! :slight_smile:

If you have a Rigidbody component, you can access the velocity. In C#, it is impossible to disable members of a class. Variables exist or they don’t exist.


See also:

We can access it, but if “iskinamatic” is true then the value of velocity is 0,0,0

And what exactly would you like to know? Is there any problem you would like to solve? If you don’t want the velocity to be (0, 0, 0), you could assign another value to it as shown in this example.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms