|
|
|
Transformation
- rotate(object, {x, y, z}, angle, "local")
- translate(object, {x, y, z}, "local")
|
Physics
- setGravity({x, y, z})
- getGravity()
- getLinearDamping(object)
- setLinearDamping(object, damping)
- getAngularDamping(object)
- setAngularDamping(object, damping)
- getLinearFactor(object)
- setLinearFactor(object, {x, y, z})
- getAngularFactor(object)
- setAngularFactor(object, factor)
- getMass(object)
- setMass(object, mass)
- getFriction(object)
- setFriction(object, friction)
- getRestitution(object)
- setRestitution(object, restitution)
- clearForces(object)
- addCentralForce(object, {x, y, z}, "local")
- addTorque(object, {x, y, z}, "local")
- getCentralForce(object)
- getTorque(object)
- isCollisionTest(object)
- isCollisionBetween(object1, object2)
- getNumCollisions(object)
- rayHit(start, end)
|
Light
- getLightColor(object)
- getLightRadius(object)
- getLightIntensity(object)
- getLightShadowQuality(object)
- getLightShadowBias(object)
- getLightShadowBlur(object)
- getLightSpotAngle(object)
- getLightSpotExponent(object)
- setLightColor(object, {r, g, b})
- setLightRadius(object, radius)
- setLightIntensity(object, intensity)
- setLightShadowQuality(object, quality)
- setLightShadowBias(object, bias)
- setLightShadowBlur(object, blur)
- setLightSpotAngle(object, spotAngle)
- setLightSpotExponent(object, exponent)
|
|