reckfellENGINE

PhysicsCollideShapeResult3D

Stores the collision points of a shape collision query.

On this page
class PhysicsCollideShapeResult3DReckfellSharpInherits RefCounted

Stores the collision points of a shape collision query.

This class contains the contact points computed by PhysicsDirectSpaceState3D.CollideShapeInto. Each collision is represented as a pair of points: one on the query shape and one on the colliding shape.

Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.

Constructors1

PhysicsCollideShapeResult3DConstructor
# PhysicsCollideShapeResult3D
C#
public PhysicsCollideShapeResult3D();

Properties1

MaxCollisionsProperty
# MaxCollisions
C#
public int MaxCollisions { get; set; }

The maximum number of collisions this object can store.

Methods5

GetCollisionCountint
# GetCollisionCount
C#
public int GetCollisionCount();

Returns the number of point pairs detected by the query.

Returns int
GetMaxCollisionsint
# GetMaxCollisions
C#
public int GetMaxCollisions();
Returns int
GetPointOnCollidingShapeVector3
# GetPointOnCollidingShape
C#
public Vector3 GetPointOnCollidingShape(int collisionIndex);

Returns the collision point on the colliding shape for the collision at the given index.

Parameters
NameTypeDefault
collisionIndexint—
Returns Vector3
GetPointOnQueriedShapeVector3
# GetPointOnQueriedShape
C#
public Vector3 GetPointOnQueriedShape(int collisionIndex);

Returns the collision point on the query shape for the collision at the given index.

Parameters
NameTypeDefault
collisionIndexint—
Returns Vector3
SetMaxCollisionsvoid
# SetMaxCollisions
C#
public void SetMaxCollisions(int maxCollisions);
Parameters
NameTypeDefault
maxCollisionsint—
Reckfell Engine documentationBack to top ↑
QUICK LINKSGetting startedEntity hierarchyC# & .NET 10Scenes and prefabs
Reckfell guides and full API K
reckfellENGINE
RECKFELL ACCOUNT

Sign in

Sign in to your Reckfell account.

One account for the entire Reckfell platform.