Available on cs, neko, nodejs
BodyBase
@:value(new Map<Int,BodyBase>())staticBODYMAP:Map<Int, BodyBase> = new Map<Int,BodyBase>()
anchor:Vec2
angularVel:Float
read onlybody:Body
read onlygroup:NapeGroup
limits:Rect<Float>
read onlyonDestroy:Signal0
read onlyonOut:Signal0
read onlyonPos:Signal2<Float, Float>
read onlyonRotation:Signal1<Float>
pos:Point<Float>
rotation:Float
inlineaddSpeed(v:Float):Void
collision<T>(with:T):Signal0
collisionLost<T>(with:T):Signal0
destroy():Void
getCacheId():Bytes
groupCollision<T>(with:T):Signal1<Int>
groupCollisionLost<T>(with:T):Signal1<Int>
inlinelookAt(x:Float, y:Float):Void
inlinelookAtPoint(p:Point<Float>):Void
lookAtVelLin(x:Float, y:Float, vel:Float):Void
inlinescale(x:Float, y:Float):Void
inlinesetSpeed(v:Float):Void
sleep():Void
wake():Void