Click or drag to resize
CollisionCompoundShapeAddShape Method
Add a child shape to this compound shape.

Namespace:  GeonBit.Core.Physics.CollisionShapes
Assembly:  GeonBit (in GeonBit.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public void AddShape(
	ICollisionShape shape,
	Nullable<Matrix> transform = null
)

Parameters

shape
Type: GeonBit.Core.Physics.CollisionShapesICollisionShape
Collision shape to add.
transform (Optional)
Type: SystemNullableMatrix
Transformations for child shape.
See Also