Function createPhysicsShape
-
Parameters
- world: PhysicsWorld
The physics world.
- options: PhysicsShapeOptions
The shape type and its geometry parameters.
Returns PhysicsShape
The created shape handle.
- world: PhysicsWorld
The physics world.
The shape type and its geometry parameters.
The created shape handle.
Creates a collision shape from the given options.