Collisions/ Gravity
Collisions/ Gravity
Located in ExampleScripts- Collision_Test.py
The collisions/ gravity example shows you how to add gravity and collision detection to a script so that you will go up and down ramps or enable falling
To add to any script use this code:
from utils import collision
c = collision.Collision()
Note if using full body tracking, the avatar may cause some issues with floating