Difference between revisions of "R3d.Body"
Line 24: | Line 24: | ||
[[Special:MyLanguage/r3d.Body:setType|r3d.Body:setType]] ''<translate>sets the body type</translate>''<br/> | [[Special:MyLanguage/r3d.Body:setType|r3d.Body:setType]] ''<translate>sets the body type</translate>''<br/> | ||
<!-- GIDEROSMTD:r3d.Body:setType(type) sets the body type --> | <!-- GIDEROSMTD:r3d.Body:setType(type) sets the body type --> | ||
− | [[Special:MyLanguage/r3d.Body:enableGravity|r3d.Body:enableGravity]] ''<translate>enables or disables gravity | + | [[Special:MyLanguage/r3d.Body:enableGravity|r3d.Body:enableGravity]] ''<translate>enables or disables gravity force on the body</translate>''<br/> |
− | <!-- GIDEROSMTD:r3d.Body:enableGravity(enable) enables or disables gravity | + | <!-- GIDEROSMTD:r3d.Body:enableGravity(enable) enables or disables gravity force on the body --> |
[[Special:MyLanguage/r3d.Body:setIsAllowedToSleep|r3d.Body:setIsAllowedToSleep]] ''<translate>allows or disallows a body to sleep</translate>''<br/> | [[Special:MyLanguage/r3d.Body:setIsAllowedToSleep|r3d.Body:setIsAllowedToSleep]] ''<translate>allows or disallows a body to sleep</translate>''<br/> | ||
<!-- GIDEROSMTD:r3d.Body:setIsAllowedToSleep(allowed) allows or disallows a body to sleep --> | <!-- GIDEROSMTD:r3d.Body:setIsAllowedToSleep(allowed) allows or disallows a body to sleep --> |
Revision as of 18:10, 22 January 2020
Supported platforms:
Available since: Gideros 2019.10
Description
Methodsr3d.Body:createFixture creates a new fixture |
Constantsr3d.Body.DYNAMIC_BODY |