GeonBit Documentation
GeonBit Documentation
GeonBit
GeonBit.Core.Physics
PhysicsWorld Class
PhysicsWorld Methods
AddBody Method
DebugDraw Method
Destroy Method
Initialize Method
Raycast Method
RemoveBody Method
SetGravity Method
Update Method
PhysicsWorld
AddBody Method
Add a physical body to the world
Namespace:
GeonBit.Core.Physics
Assembly:
GeonBit (in GeonBit.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
Copy
public
void
AddBody
(
BasicPhysicalBody
body
)
Parameters
body
Type:
GeonBit.Core.Physics
BasicPhysicalBody
Physics entity to add.
See Also
Reference
PhysicsWorld Class
GeonBit.Core.Physics Namespace
GeonBit ECS game Engine. By Ronen Ness, 2017.
Send comments on this topic to
ronenness@gmail.com