GeonBit Documentation
GeonBit Documentation
GeonBit
GeonBit.Core.Physics.CollisionShapes
CollisionCompoundShape Class
CollisionCompoundShape Methods
AddShape Method
Clear Method
RemoveShape Method
CollisionCompoundShape
AddShape 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#
Copy
public
void
AddShape
(
ICollisionShape
shape
,
Nullable
<
Matrix
>
transform
=
null
)
Parameters
shape
Type:
GeonBit.Core.Physics.CollisionShapes
ICollisionShape
Collision shape to add.
transform
(Optional)
Type:
System
Nullable
Matrix
Transformations for child shape.
See Also
Reference
CollisionCompoundShape Class
GeonBit.Core.Physics.CollisionShapes Namespace
GeonBit ECS game Engine. By Ronen Ness, 2017.
Send comments on this topic to
ronenness@gmail.com