Static variables

@:value(0)staticfinalinlineread onlySTATIC:Int = 0

This body will become an immovable object by physics.

Zero mass and zero velocity, can be manually positioned and will not be affected by other physics objects.

@:value(1)staticfinalinlineread onlyKINEMATIC:Int = 1

This body will become an unstoppable object by physics.

Zero mass, but a velocity can be specified, and will not be affected by other physics objects.

@:value(2)staticfinalinlineread onlyDYNAMIC:Int = 2

This body will become dynamic and will be affected by other objects.

Positive mass, velocity is determined by forces.

Static methods

@:fromstaticfromString(type:String):FoxPhysicsBodyType

@:tostatictoString(type:FoxPhysicsBodyType):String