Why change velocity to linearVelocity?

Some things that turned obsolete are understandable, it says in warning ~“new is better performance” etc.

But what’s behind this change? The new velocity is different underhood? Or it is just for more mathematical clearance and code readability? Though new one is longer.

According to some comments, it’s due to an internal alignment between the prior API and the PhysX naming convention. velocity is thus linearVelocity as it’s clearer and in line with how things are named in other engines. (In other words, it’s now self-explanatory, you don’t need to read the docs to be able to tell what kind of velocity it is.)

1 Like