CollisionBox2D Constructor |
Create the collision box2d.
Namespace:
GeonBit.Core.Physics.CollisionShapes
Assembly:
GeonBit (in GeonBit.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public CollisionBox2D(
float width = 1f,
float height = 1f,
float depth = 1f
)
Parameters
- width (Optional)
- Type: SystemSingle
Box base width (X axis). - height (Optional)
- Type: SystemSingle
Box base height (Y axis). - depth (Optional)
- Type: SystemSingle
Bow base depth (Z axis).
See Also