Function addPhysicsShapeChild
-
addPhysicsShapeChild(
world: PhysicsWorld,
container: PhysicsShape,
child: PhysicsShape,
translation?: Vec3,
rotation?: Quat,
scale?: Vec3,
): voidParameters
- world: PhysicsWorld
The physics world.
- container: PhysicsShape
Parent container shape.
- child: PhysicsShape
Child shape to append.
Optionaltranslation: Vec3Child translation in container space.
Optionalrotation: QuatChild rotation in container space.
Optionalscale: Vec3Child scale in container space.
Returns void
- world: PhysicsWorld
Adds a child shape to a container shape with an explicit local transform.