Difference between revisions of "love.physics (Español)"
(→Box2D's architecture, concepts, and terminologies.) |
m (→Funciones) |
||
Line 15: | Line 15: | ||
}} | }} | ||
== Funciones == | == Funciones == | ||
− | {{#ask: [[Category:Functions]] [[parent::love.physics]] [[Concept:Current]] | + | {{#ask: [[Category:Functions]] [[parent::love.physics (Español)]] [[Concept:Current]] |
| headers=hide | | headers=hide | ||
| format=template | | format=template | ||
Line 25: | Line 25: | ||
| ?PrettyRemoved | | ?PrettyRemoved | ||
}} | }} | ||
+ | |||
== Enums == | == Enums == | ||
{{#ask: [[Category:Enums]] [[parent::love.physics]] [[Concept:Current]] | {{#ask: [[Category:Enums]] [[parent::love.physics]] [[Concept:Current]] |
Revision as of 14:27, 17 December 2024
Available since LÖVE 0.4.0 |
This module is not supported in earlier versions. |
Puede simular 2D rigid bodies (cuerpos rigidos 2D) de manera realista. Este módulo es esencialmente un vínculo a Box2D (version 2.3.0 - manual). Para mas simples (y mas comunes) usos, existen una pequeña cantidad de librerías, que suelen ser más popularmente usadas que love.physics y se puede encontrar aquí: https://github.com/love2d-community/awesome-love2d#physics
Contents
Tipos
Body | Bodies are objects with velocity and position. | ||
Contact | Contacts are objects created to manage collisions in worlds. | ||
Fixture | Fixtures attach shapes to bodies. | 0.8.0 | |
Joint | Attach multiple bodies together to interact in unique ways. | ||
Shape | Shapes are objects used to control mass and collisions. | ||
World | A world is an object that contains all bodies and joints. |
Funciones
love.physics.getDistance (Español) | Retorna los dos puntos mas cercanos entre dos fixtures y su distancia. | 0.8.0 | |
love.physics.getMeter (Español) | Retorna el factor de escala del metro. | 0.8.0 | |
love.physics.newBody (Español) | Crea un nuevo cuerpo (Body) |
Enums
BodyType | The types of a Body. | ||
JointType | Different types of joints. | ||
ShapeType | The different types of Shapes, as returned by Shape:getType. |
Notas
Box2D arquitectura, conceptos, y terminologías.
Ver También
- love
- Tutorial:Physics
- Tutorial:PhysicsCollisionCallbacks
- Box2D Gotchas (lectura recomendada)
Otros Idiomas
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