physics.xVelocity

Type: number

Overview:


The horizontal (X-axis) velocity applied to the physics constraints.

Example:


hero.physics.xVelocity = 10
print("X Velocity:", hero.physics.xVelocity)