GeonBit Documentation
GeonBit Documentation
GeonBit
GeonBit.Core.Physics
StaticBody Class
StaticBody Constructor
StaticBody Properties
StaticBody Methods
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#
Copy
public
StaticBody
(
ICollisionShape
shape
,
Nullable
<
Matrix
>
transformations
=
null
)
Parameters
shape
Type:
GeonBit.Core.Physics.CollisionShapes
ICollisionShape
Collision shape that define this body.
transformations
(Optional)
Type:
System
Nullable
Matrix
Starting transformations.
See Also
Reference
StaticBody Class
GeonBit.Core.Physics Namespace
GeonBit ECS game Engine. By Ronen Ness, 2017.
Send comments on this topic to
ronenness@gmail.com