This command sets the gravitational constant for the viewpoint
| <viewpoint>.gravity( | |
| value | # e.g., 9.8 (meters/sec^2) |
)
value
The new value for gravity in meter per second squared
Gravity only has affect on the user when collision is ON. Earth gravity is 9.8, which is the default.
None
<viewpoint>.collision
<viewpoint>.collisionbuffer
<viewpoint>.stepsize