Optional
bodyOptional
name?: stringname of the BJS transform node, displayed in the inspector hierarchy
Optional
onOptional
onOptional
position?: Vec3initial position, changing this value after init will teleport object
Optional
rotation?: Vec3initial rotation, changing this value after init will teleport object
the shape of the body to simulate, keep it simple sphere,cuboid,capsule... avoid trimesh