Interface PhysicShapeOptions
interface PhysicShapeOptions {
parameters?: PhysicsShapeParameters;
pluginData?: any;
type?: PhysicsShapeType;
}
parameters?: PhysicsShapeParameters;
pluginData?: any;
type?: PhysicsShapeType;
}
Properties
Optionalparameters
The parameters of the shape. Varies depending of the shape type.
Optionalplugin Data
pluginData?: any
Reference to an already existing physics shape in the plugin.
Optionaltype
The type of the shape. This can be one of the following: SPHERE, BOX, CAPSULE, CYLINDER, CONVEX_HULL, MESH, HEIGHTFIELD, CONTAINER
Options for creating a physics shape