Difference between revisions of "R3d.Fixture"

From GiderosMobile
(Created page with "__NOTOC__ <languages /> <!-- GIDEROSOBJ:r3d.Fixture --> '''<translate>Supported platforms</translate>:''' File:Platform android.pngFile:Platform ios.pngFile:Platform...")
 
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
<languages />
 
 
<!-- GIDEROSOBJ:r3d.Fixture -->
 
<!-- GIDEROSOBJ:r3d.Fixture -->
 
'''<translate>Supported platforms</translate>:''' [[File:Platform android.png]][[File:Platform ios.png]][[File:Platform mac.png]][[File:Platform pc.png]][[File:Platform html5.png]][[File:Platform winrt.png]][[File:Platform win32.png]]<br/>
 
'''<translate>Supported platforms</translate>:''' [[File:Platform android.png]][[File:Platform ios.png]][[File:Platform mac.png]][[File:Platform pc.png]][[File:Platform html5.png]][[File:Platform winrt.png]][[File:Platform win32.png]]<br/>
 
'''<translate>Available since</translate>:''' Gideros 2019.10<br/>
 
'''<translate>Available since</translate>:''' Gideros 2019.10<br/>
=== <translate>Description</translate> ===
+
 
 +
=== Description ===
 +
 
 
{|-
 
{|-
 
| style="width: 50%; vertical-align:top;"|
 
| style="width: 50%; vertical-align:top;"|
 
=== <translate>Methods</translate> ===
 
=== <translate>Methods</translate> ===
[[Special:MyLanguage/r3d.Fixture:setCollisionCategoryBits|r3d.Fixture:setCollisionCategoryBits]] ''<translate>set the categories of this fixture</translate>''<br/><!-- GIDEROSMTD:r3d.Fixture:setCollisionCategoryBits(bits) set the categories of this fixture -->
+
[[Special:MyLanguage/r3d.Fixture:setCollisionCategoryBits|r3d.Fixture:setCollisionCategoryBits]] ''<translate>sets the categories of this fixture</translate>''<br/>
[[Special:MyLanguage/r3d.Fixture:setCollideWithMaskBits|r3d.Fixture:setCollideWithMaskBits]] ''<translate>set the categories this fixture can collide with</translate>''<br/><!-- GIDEROSMTD:r3d.Fixture:setCollideWithMaskBits(bits) set the categories this fixture can collide with -->
+
<!-- GIDEROSMTD:r3d.Fixture:setCollisionCategoryBits(bits) sets the categories of this fixture -->
[[Special:MyLanguage/r3d.Fixture:raycast|r3d.Fixture:raycast]] ''<translate>perform a ray cast on the fixture</translate>''<br/><!-- GIDEROSMTD:r3d.Fixture:raycast(sx,sy,sz,ex,ey,ez) perform a ray cast on the fixture -->
+
[[Special:MyLanguage/r3d.Fixture:setCollideWithMaskBits|r3d.Fixture:setCollideWithMaskBits]] ''<translate>sets the categories this fixture can collide with</translate>''<br/>
[[Special:MyLanguage/r3d.Fixture:testPointInside|r3d.Fixture:testPointInside]] ''<translate>check if a point is inside the fixture</translate>''<br/><!-- GIDEROSMTD:r3d.Fixture:testPointInside(x,y,z) check if a point is inside the fixture -->
+
<!-- GIDEROSMTD:r3d.Fixture:setCollideWithMaskBits(bits) sets the categories this fixture can collide with -->
 +
[[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 -->
 +
[[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;"|
 
|}
 
|}
 +
 +
 +
----
 +
'''[[ReactPhysics3D]]'''<br/>

Revision as of 06:44, 23 January 2020

Supported platforms: Platform android.pngPlatform ios.pngPlatform mac.pngPlatform pc.pngPlatform html5.pngPlatform winrt.pngPlatform win32.png
Available since: Gideros 2019.10

Description

Methods

r3d.Fixture:setCollisionCategoryBits sets the categories of this fixture
r3d.Fixture:setCollideWithMaskBits sets the categories this fixture can collide with
r3d.Fixture:raycast performs a ray cast on the fixture
r3d.Fixture:testPointInside checks if a point is inside the fixture



ReactPhysics3D