Difference between revisions of "R3d.Fixture:testPointInside"
From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight") |
m (Text replacement - "</source>" to "</syntaxhighlight>") |
||
Line 6: | Line 6: | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
r3d.Fixture:testPointInside(x,y,z) | r3d.Fixture:testPointInside(x,y,z) | ||
− | </ | + | </syntaxhighlight> |
=== Parameters === | === Parameters === | ||
Line 15: | Line 15: | ||
=== Example === | === Example === | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
− | </ | + | </syntaxhighlight> |
{{R3d.Fixture}} | {{R3d.Fixture}} |
Latest revision as of 14:32, 13 July 2023
Available since: Gideros 2019.10
Class: R3d.Fixture
Description
Checks if a point is inside the fixture.
r3d.Fixture:testPointInside(x,y,z)
Parameters
x: (number) the position of the point on the X axis
y: (number) the position of the point on the Y axis
z: (number) the position of the point on the Z axis
Example