Platform Compatibility
PC | Mac OSX | Oculus Quest |
---|---|---|
X | X | X |
Set the velocity of rigidbody
Parameters:
- vel
- A string value for velocity in X,Y,Z
Example:
1 2 3 4 | obj.setVelocity(vel) --Also works as obj.setVelocity(x, y, z) |
McMaster University Virtual Reality Simulation and Research
Platform Compatibility
PC | Mac OSX | Oculus Quest |
---|---|---|
X | X | X |
Set the velocity of rigidbody
Parameters:
Example:
1 2 3 4 | obj.setVelocity(vel) --Also works as obj.setVelocity(x, y, z) |