PhysicsCastMotionResult3D
Stores the result of a shape motion cast query.
Stores the result of a shape motion cast query.
This class contains the safe and unsafe fractions computed by PhysicsDirectSpaceState3D.CastMotionInto.
Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.
Constructors1
PhysicsCastMotionResult3DConstructor
public PhysicsCastMotionResult3D();Properties2
SafeFractionProperty
public float SafeFraction { get; }The maximum fraction of the motion that can be made without a collision.
UnsafeFractionProperty
public float UnsafeFraction { get; }The minimum fraction of the distance that must be moved for a collision.
Methods2
GetSafeFractionfloat
public float GetSafeFraction();Returns
floatGetUnsafeFractionfloat
public float GetUnsafeFraction();Returns
floatReckfell Engine documentationBack to top ↑