reckfellENGINE

PhysicsGetRestInfoResult3D

Stores the nearest collision information of a shape query.

On this page
class PhysicsGetRestInfoResult3DReckfellSharpInherits RefCounted

Stores the nearest collision information of a shape query.

This class contains the collision data computed by PhysicsDirectSpaceState3D.GetRestInfoInto. If the shape collides with multiple objects, only the nearest collision is stored.

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

Constructors1

PhysicsGetRestInfoResult3DConstructor
# PhysicsGetRestInfoResult3D
C#
public PhysicsGetRestInfoResult3D();

Properties6

ColliderIdProperty
# ColliderId
C#
public ulong ColliderId { get; }

The colliding object's ID.

ColliderRidProperty
# ColliderRid
C#
public Rid ColliderRid { get; }

The intersecting object's Rid.

ColliderShapeProperty
# ColliderShape
C#
public int ColliderShape { get; }

The shape index of the colliding shape.

ColliderVelocityProperty
# ColliderVelocity
C#
public Vector3 ColliderVelocity { get; }

The colliding object's velocity Vector3. If the object is an Area3D, the result is (0, 0, 0).

NormalProperty
# Normal
C#
public Vector3 Normal { get; }

The collision normal of the query shape at the intersection point, pointing away from the intersecting object.

PointProperty
# Point
C#
public Vector3 Point { get; }

The intersection point.

Methods6

GetColliderIdulong
# GetColliderId
C#
public ulong GetColliderId();
Returns ulong
GetColliderRidRid
# GetColliderRid
C#
public Rid GetColliderRid();
Returns Rid
GetColliderShapeint
# GetColliderShape
C#
public int GetColliderShape();
Returns int
GetColliderVelocityVector3
# GetColliderVelocity
C#
public Vector3 GetColliderVelocity();
Returns Vector3
GetNormalVector3
# GetNormal
C#
public Vector3 GetNormal();
Returns Vector3
GetPointVector3
# GetPoint
C#
public Vector3 GetPoint();
Returns Vector3
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.