R3d.Fixture:testPointInside: Difference between revisions

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)
</source>
</syntaxhighlight>


=== Parameters ===
=== Parameters ===
Line 15: Line 15:
=== Example ===
=== Example ===
<syntaxhighlight lang="lua">
<syntaxhighlight lang="lua">
</source>
</syntaxhighlight>


{{R3d.Fixture}}
{{R3d.Fixture}}

Revision as of 13: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