reckfellENGINE

PhysicsPointQueryParameters3D

Provides parameters for PhysicsDirectSpaceState3D.intersect_point.

On this page
class PhysicsPointQueryParameters3DReckfellSharpInherits RefCounted

Provides parameters for PhysicsDirectSpaceState3D.IntersectPoint.

By changing various properties of this object, such as the point position, you can configure the parameters for PhysicsDirectSpaceState3D.IntersectPoint.

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

Constructors1

PhysicsPointQueryParameters3DConstructor
# PhysicsPointQueryParameters3D
C#
public PhysicsPointQueryParameters3D();

Properties5

CollideWithAreasProperty
# CollideWithAreas
C#
public bool CollideWithAreas { get; set; }

If true, the query will take Area3Ds into account.

CollideWithBodiesProperty
# CollideWithBodies
C#
public bool CollideWithBodies { get; set; }

If true, the query will take PhysicsBody3Ds into account.

CollisionMaskProperty
# CollisionMask
C#
public uint CollisionMask { get; set; }

The physics layers the query will detect (as a bitmask). By default, all collision layers are detected. See Collision layers and masks in the documentation for more information.

ExcludeProperty
# Exclude
C#
public Reckfell.Collections.Array<Rid> Exclude { get; set; }

The list of object Rids that will be excluded from collisions. Use CollisionObject3D.GetRid to get the Rid associated with a CollisionObject3D-derived node. Note: The returned array is copied and any changes to it will not update the original property value. To update the value you need to modify the returned array, and then assign it to the property again.

PositionProperty
# Position
C#
public Vector3 Position { get; set; }

The position being queried for, in global coordinates.

Methods10

GetCollisionMaskuint
# GetCollisionMask
C#
public uint GetCollisionMask();
Returns uint
GetExcludeReckfell.Collections.Array<Rid>
# GetExclude
C#
public Reckfell.Collections.Array<Rid> GetExclude();
Returns Reckfell.Collections.Array<Rid>
GetPositionVector3
# GetPosition
C#
public Vector3 GetPosition();
Returns Vector3
IsCollideWithAreasEnabledbool
# IsCollideWithAreasEnabled
C#
public bool IsCollideWithAreasEnabled();
Returns bool
IsCollideWithBodiesEnabledbool
# IsCollideWithBodiesEnabled
C#
public bool IsCollideWithBodiesEnabled();
Returns bool
SetCollideWithAreasvoid
# SetCollideWithAreas
C#
public void SetCollideWithAreas(bool enable);
Parameters
NameTypeDefault
enablebool—
SetCollideWithBodiesvoid
# SetCollideWithBodies
C#
public void SetCollideWithBodies(bool enable);
Parameters
NameTypeDefault
enablebool—
SetCollisionMaskvoid
# SetCollisionMask
C#
public void SetCollisionMask(uint collisionMask);
Parameters
NameTypeDefault
collisionMaskuint—
SetExcludevoid
# SetExclude
C#
public void SetExclude(Reckfell.Collections.Array<Rid> exclude);
Parameters
NameTypeDefault
excludeReckfell.Collections.Array<Rid>—
SetPositionvoid
# SetPosition
C#
public void SetPosition(Vector3 position);
Parameters
NameTypeDefault
positionVector3—
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.