Function addPhysicsShapeChildFromParent
-
addPhysicsShapeChildFromParent(
world: PhysicsWorld,
container: PhysicsShape,
parentNode: SceneNode,
child: PhysicsShape,
childNode: SceneNode,
): voidParameters
- world: PhysicsWorld
The physics world.
- container: PhysicsShape
Parent container shape.
- parentNode: SceneNode
Scene node associated with the container shape.
- child: PhysicsShape
Child shape to append.
- childNode: SceneNode
Scene node associated with the child shape.
Returns void
- world: PhysicsWorld
Adds a child shape to a container, deriving its local transform from two scene nodes.