Click or drag to resize
StaticBody Constructor
Create the static collision object from shape.

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

Parameters

shape
Type: GeonBit.Core.Physics.CollisionShapesICollisionShape
Collision shape that define this body.
transformations (Optional)
Type: SystemNullableMatrix
Starting transformations.
See Also