Rigidbody velocity and velocity.magnitude always return 0

I’m trying to run some math on my projectiles to find intersect points so I can have some target prediction. The issue is that the rigidbody.velocity and rigidbody.velocity.magnitude always return zero.

I move the objects with addforce, I don’t move them by their transform.position. Why is their velocity zero, and how do I go about fixing it?

Example moving projectiles: http://i.imgur.com/PE9JFAH.webm

Code to move projectile:

    private void ApplyForce(Transform targetTransform)
    {
        Vector3 angle = (targetTransform.position - transformV.position).normalized;
        GetComponent<Rigidbody>().AddForce(angle * (speed * 10));
    }

So evidently checking velocity before the end of the frame won’t show that frame’s changes. That’s useful to know. Since you’re setting the initial impulse force, you could find the resultant velocity mathematically using one of the big four kinematic equations. :slight_smile: