REDNODE / GAME API

PhysicalBodyInterface

classnative name entPhysicalBodyInterfacenative

extends IScriptable › ISerializable

Methods 26

native func AddLinearImpulse(impulse: Vector4, originInCOM: Bool, opt offset: Vector4)
native func GetAngularVelocity()
native func GetBodyIndex() -> Int32
native func GetBounds()
native func GetBoundsCenter()
native func GetDimensions()
native func GetDisplacement()
native func GetLinearSpeed()
native func GetLinearVelocity()
native func GetLocalCenterOfMass()
native func GetMass()
native func GetTransform() -> Transform
native func IsKinematic() -> Bool
native func IsQueryable() -> Bool
native func IsSimulated() -> Bool
native func SetAngularVelocity()
native func SetDisplacement()
native func SetIsKinematic(enable: Bool)
native func SetIsQueryable(enable: Bool)
native func SetIsSleeping()
native func SetLinearVelocity()
native func SetMass()
native func SetQueryFilter()
native func SetSimulationFilter()
native func SetTransform(pos: Transform)
native func ToggleKinematic(flag: Bool)