Views
Body (Русский)
Тело объекта со скоростью и положением.
Конструкторы
| love.physics.newBody | Creates a new body. |
Функции
| Body:applyAngularImpulse | Applies an angular impulse to a body. |
| Body:applyForce | Apply force to a Body. |
| Body:applyImpulse | Applies an impulse to a body. |
| Body:applyLinearImpulse | Applies an impulse to a body. |
| Body:applyTorque | Apply torque to a body. |
| Body:destroy | Explicitly destroys the Body. |
| Body:getAllowSleeping | Return whether a body is allowed to sleep. |
| Body:getAngle | Get the angle of the body. |
| Body:getAngularDamping | Gets the Angular damping of the Body. |
| Body:getAngularVelocity | Get the angular velocity of the Body. |
| Body:getContactList | Gets a list of all Contacts attached to the Body. |
| Body:getFixtureList | Returns a table with all fixtures. |
| Body:getGravityScale | Returns the gravity scale factor. |
| Body:getInertia | Gets the rotational inertia of the body. |
| Body:getLinearDamping | Gets the linear damping of the Body. |
| Body:getLinearVelocity | Gets the linear velocity of the Body from its center of mass. |
| Body:getLinearVelocityFromLocalPoint | Get the linear velocity of a point on the body. |
| Body:getLinearVelocityFromWorldPoint | Get the linear velocity of a point on the body. |
| Body:getLocalCenter | Get the center of mass position in local coordinates. |
| Body:getLocalPoint | Transform a point from world coordinates to local coordinates. |
| Body:getLocalVector | Transform a vector from world coordinates to local coordinates. |
| Body:getMass | Get the mass of the body. |
| Body:getMassData | Returns the mass, its center, and the rotational inertia. |
| Body:getPosition | Get the position of the body. |
| Body:getType | Returns the type of the body. |
| Body:getUserData | Returns the Lua value associated with this Body. |
| Body:getWorld | Gets the World the body lives in. |
| Body:getWorldCenter | Get the center of mass position in world coordinates. |
| Body:getWorldPoint | Transform a point from local coordinates to world coordinates. |
| Body:getWorldPoints | Transforms multiple points from local coordinates to world coordinates. |
| Body:getWorldVector | Transform a vector from local coordinates to world coordinates. |
| Body:getX | Get the x position of the body in world coordinates. |
| Body:getY | Get the y position of the body in world coordinates. |
| Body:isActive | Returns whether the body is actively used in the simulation. |
| Body:isAwake | Returns the sleep status of the body. |
| Body:isBullet | Get the bullet status of a body. |
| Body:isDynamic | Get the dynamic status of the body. |
| Body:isFixedRotation | Returns whether the body rotation is locked. |
| Body:isFrozen | Get the frozen status of the body. |
| Body:isSleeping | Get the sleeping status of a body. |
| Body:isSleepingAllowed | Returns the sleeping behaviour of the body. |
| Body:isStatic | Get the static status of the body. |
| Body:putToSleep | Put the body to sleep. |
| Body:resetMassData | Resets the mass of the body. |
| Body:setActive | Sets whether the body is active in the world. |
| Body:setAllowSleeping | Set the sleep behaviour of a body. |
| Body:setAngle | Set the angle of the body. |
| Body:setAngularDamping | Sets the angular damping of a Body |
| Body:setAngularVelocity | Sets the angular velocity of a Body. |
| Body:setAwake | Wakes the body up or puts it to sleep. |
| … further results | |
Смотрите также
Другие языки
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info