Space Plunder
Loading...
Searching...
No Matches
IALSGravityMovementInterface Class Referenceabstract

#include <ALSGravityMovementInterface.h>

Inheritance diagram for IALSGravityMovementInterface:
UALSCharacterMovementComponent

Public Member Functions

virtual FVector GetGravityDirection () const =0
 
virtual void SetFixedGravityDirection (const FVector &NewFixedGravityDirection)=0
 
virtual void SetSplineTangentGravityDirection (AActor *NewGravityActor)=0
 
virtual void SetPointGravityDirection (const FVector &NewGravityPoint)=0
 
virtual void SetPointGravityDirectionFromActor (AActor *NewGravityActor)=0
 
virtual void SetLineGravityDirection (const FVector &NewGravityLineStart, const FVector &NewGravityLineEnd)=0
 
virtual void SetSegmentGravityDirection (const FVector &NewGravitySegmentStart, const FVector &NewGravitySegmentEnd)=0
 
virtual void SetPlaneGravityDirection (const FVector &NewGravityPlaneBase, const FVector &NewGravityPlaneNormal)=0
 
virtual void SetSplineGravityDirection (AActor *NewGravityActor)=0
 
virtual void SetSplinePlaneGravityDirection (AActor *NewGravityActor)=0
 
virtual void SetBoxGravityDirection (const FVector &NewGravityBoxOrigin, const FVector &NewGravityBoxExtent)=0
 
virtual void SetBoxGravityDirectionFromActor (AActor *NewGravityActor)=0
 
virtual void SetCollisionGravityDirection (AActor *NewGravityActor)=0
 
virtual bool GetIsWalking () const =0
 
virtual void LaunchCharacter (const FVector &LaunchVel)=0
 
virtual void SetNewGravityScale (const float NewGravity)=0
 
virtual void ResetGravityScale ()=0
 

Member Function Documentation

◆ GetGravityDirection()

virtual FVector IALSGravityMovementInterface::GetGravityDirection ( ) const
pure virtual

◆ GetIsWalking()

virtual bool IALSGravityMovementInterface::GetIsWalking ( ) const
pure virtual

Returns true if the character is in the 'Walking' movement mode.

Implemented in UALSCharacterMovementComponent.

◆ LaunchCharacter()

virtual void IALSGravityMovementInterface::LaunchCharacter ( const FVector & LaunchVel)
pure virtual

Queue a pending launch with velocity LaunchVel.

Implemented in UALSCharacterMovementComponent.

◆ ResetGravityScale()

virtual void IALSGravityMovementInterface::ResetGravityScale ( )
pure virtual

◆ SetBoxGravityDirection()

virtual void IALSGravityMovementInterface::SetBoxGravityDirection ( const FVector & NewGravityBoxOrigin,
const FVector & NewGravityBoxExtent )
pure virtual

Sets a new axis-aligned box which gravity direction points to.

Note
It can be influenced by GravityScale
Parameters
NewGravityBoxOrigin- origin of the box
NewGravityBoxExtent- extents of the box

Implemented in UALSCharacterMovementComponent.

◆ SetBoxGravityDirectionFromActor()

virtual void IALSGravityMovementInterface::SetBoxGravityDirectionFromActor ( AActor * NewGravityActor)
pure virtual

Sets a new axis-aligned box which gravity direction points to.

Note
It can be influenced by GravityScale
Parameters
NewGravityActor- Actor that provides its collision bounding box as gravity target

Implemented in UALSCharacterMovementComponent.

◆ SetCollisionGravityDirection()

virtual void IALSGravityMovementInterface::SetCollisionGravityDirection ( AActor * NewGravityActor)
pure virtual

Sets a new collision geometry which gravity direction points to.

Note
It can be influenced by GravityScale
Parameters
NewGravityActor- Actor that owns the PrimitiveComponent that has collision geometry

Implemented in UALSCharacterMovementComponent.

◆ SetFixedGravityDirection()

virtual void IALSGravityMovementInterface::SetFixedGravityDirection ( const FVector & NewFixedGravityDirection)
pure virtual

Sets a new fixed gravity direction.

Note
It can be influenced by GravityScale
Parameters
NewFixedGravityDirection- new fixed gravity direction, assumes it is normalized

Implemented in UALSCharacterMovementComponent.

◆ SetLineGravityDirection()

virtual void IALSGravityMovementInterface::SetLineGravityDirection ( const FVector & NewGravityLineStart,
const FVector & NewGravityLineEnd )
pure virtual

Sets a new infinite line which gravity direction points to.

Note
It can be influenced by GravityScale
Parameters
NewGravityLineStart- a point that belongs to the infinite line
NewGravityLineEnd- another point that belongs to the infinite line

Implemented in UALSCharacterMovementComponent.

◆ SetNewGravityScale()

virtual void IALSGravityMovementInterface::SetNewGravityScale ( const float NewGravity)
pure virtual

◆ SetPlaneGravityDirection()

virtual void IALSGravityMovementInterface::SetPlaneGravityDirection ( const FVector & NewGravityPlaneBase,
const FVector & NewGravityPlaneNormal )
pure virtual

Sets a new spline which gravity direction points to.LaunchVelLaunchVel) = 0; Sets a new infinite plane which gravity direction points to.

Note
It can be influenced by GravityScale
Parameters
NewGravityPlaneBase- a point that belongs to the plane
NewGravityPlaneNormal- normal of the plane, assumes it is normalized

Implemented in UALSCharacterMovementComponent.

◆ SetPointGravityDirection()

virtual void IALSGravityMovementInterface::SetPointGravityDirection ( const FVector & NewGravityPoint)
pure virtual

Sets a new point which gravity direction points to.

Note
It can be influenced by GravityScale
Parameters
NewGravityPoint- new point which gravity direction points to

Implemented in UALSCharacterMovementComponent.

◆ SetPointGravityDirectionFromActor()

virtual void IALSGravityMovementInterface::SetPointGravityDirectionFromActor ( AActor * NewGravityActor)
pure virtual

Sets a new point which gravity direction points to.

Note
It can be influenced by GravityScale
Parameters
NewGravityActor- Actor that provides its location as gravity point

Implemented in UALSCharacterMovementComponent.

◆ SetSegmentGravityDirection()

virtual void IALSGravityMovementInterface::SetSegmentGravityDirection ( const FVector & NewGravitySegmentStart,
const FVector & NewGravitySegmentEnd )
pure virtual

Sets a new segment line which gravity direction points to.

Note
It can be influenced by GravityScale
Parameters
NewGravitySegmentStart- start point of the segment line
NewGravitySegmentEnd- end point of the segment line

Implemented in UALSCharacterMovementComponent.

◆ SetSplineGravityDirection()

virtual void IALSGravityMovementInterface::SetSplineGravityDirection ( AActor * NewGravityActor)
pure virtual

Sets a new spline which gravity direction points to.

Note
It can be influenced by GravityScale
Parameters
NewGravityActor- Actor that provides a spline

Implemented in UALSCharacterMovementComponent.

◆ SetSplinePlaneGravityDirection()

virtual void IALSGravityMovementInterface::SetSplinePlaneGravityDirection ( AActor * NewGravityActor)
pure virtual

Sets a new infinite plane determined by closest spline point and spline up vector which gravity direction points to.

Note
It can be influenced by GravityScale
Parameters
NewGravityActor- Actor that provides a spline

Implemented in UALSCharacterMovementComponent.

◆ SetSplineTangentGravityDirection()

virtual void IALSGravityMovementInterface::SetSplineTangentGravityDirection ( AActor * NewGravityActor)
pure virtual

Sets a new gravity direction determined by closest spline tangent.

Note
It can be influenced by GravityScale
Parameters
NewGravityActor- Actor that provides a spline

Implemented in UALSCharacterMovementComponent.


The documentation for this class was generated from the following file: