Difference between revisions of "R3d.Fixture"
From GiderosMobile
Line 13: | Line 13: | ||
| style="width: 50%; vertical-align:top;"| | | style="width: 50%; vertical-align:top;"| | ||
=== <translate>Methods</translate> === | === <translate>Methods</translate> === | ||
− | [[Special:MyLanguage/r3d.Fixture: | + | [[Special:MyLanguage/r3d.Fixture:raycast|r3d.Fixture:raycast]] ''<translate>performs a ray cast on the fixture</translate>''<br/><!-- GIDEROSMTD:r3d.Fixture:raycast(sx,sy,sz,ex,ey,ez) performs a ray cast on the fixture --> |
− | <!-- GIDEROSMTD:r3d.Fixture: | + | [[Special:MyLanguage/r3d.Fixture:setCollideWithMaskBits|r3d.Fixture:setCollideWithMaskBits]] ''<translate>sets the categories this fixture can collide with</translate>''<br/><!-- GIDEROSMTD:r3d.Fixture:setCollideWithMaskBits(bits) sets the categories this fixture can collide with --> |
− | [[Special:MyLanguage/r3d.Fixture:setCollideWithMaskBits|r3d.Fixture:setCollideWithMaskBits]] ''<translate>sets the categories this fixture can collide with</translate>''<br/> | + | [[Special:MyLanguage/r3d.Fixture:setCollisionCategoryBits|r3d.Fixture:setCollisionCategoryBits]] ''<translate>sets the fixture collision category bit</translate>''<br/><!-- GIDEROSMTD:r3d.Fixture:setCollisionCategoryBits(bits) sets the fixture collision category bit --> |
− | <!-- GIDEROSMTD:r3d.Fixture:setCollideWithMaskBits(bits) sets the categories this fixture can collide with --> | + | [[Special:MyLanguage/r3d.Fixture:testPointInside|r3d.Fixture:testPointInside]] ''<translate>checks if a point is inside the fixture</translate>''<br/><!-- GIDEROSMTD:r3d.Fixture:testPointInside(x,y,z) checks if a point is inside the fixture --> |
− | [[Special:MyLanguage/r3d.Fixture: | ||
− | <!-- GIDEROSMTD:r3d.Fixture: | ||
− | [[Special:MyLanguage/r3d.Fixture:testPointInside|r3d.Fixture:testPointInside]] ''<translate>checks if a point is inside the fixture</translate>''<br/> | ||
− | <!-- GIDEROSMTD:r3d.Fixture:testPointInside(x,y,z) checks if a point is inside the fixture --> | ||
| style="width: 50%; vertical-align:top;"| | | style="width: 50%; vertical-align:top;"| |
Revision as of 00:01, 19 February 2020
Supported platforms:
Available since: Gideros 2019.10
Description
A proxy shape (also called fixture) is what links a given collision shape to the body it has been added.
You can use the returned proxy shape to get or set parameters of the given collision shape in that particular body.
Methodsr3d.Fixture:raycast performs a ray cast on the fixture |