|
Space Plunder
|
#include <ALSCharacterMovementComponent.h>
Classes | |
| class | FNetworkPredictionData_Client_My |
| class | FSavedMove_My |
Protected Member Functions | |
| virtual void | MulticastEnableAlignGravityToBase () |
| virtual void | MulticastDisableAlignGravityToBase () |
| virtual void | MulticastSetGravityScale (const float NewGravityScale) |
| virtual void | MulticastSetFixedGravityDirection (const FVector &NewFixedGravityDirection) |
| virtual void | MulticastSetSplineTangentGravityDirection (AActor *NewGravityActor) |
| virtual void | MulticastSetPointGravityDirection (const FVector &NewGravityPoint) |
| virtual void | MulticastSetPointGravityDirectionFromActor (AActor *NewGravityActor) |
| virtual void | MulticastSetLineGravityDirection (const FVector &NewGravityLineStart, const FVector &NewGravityLineEnd) |
| virtual void | MulticastSetSegmentGravityDirection (const FVector &NewGravitySegmentStart, const FVector &NewGravitySegmentEnd) |
| virtual void | MulticastSetSplineGravityDirection (AActor *NewGravityActor) |
| virtual void | MulticastSetPlaneGravityDirection (const FVector &NewGravityPlaneBase, const FVector &NewGravityPlaneNormal) |
| virtual void | MulticastSetSplinePlaneGravityDirection (AActor *NewGravityActor) |
| virtual void | MulticastSetBoxGravityDirection (const FVector &NewGravityBoxOrigin, const FVector &NewGravityBoxExtent) |
| virtual void | MulticastSetBoxGravityDirectionFromActor (AActor *NewGravityActor) |
| virtual void | MulticastSetCollisionGravityDirection (AActor *NewGravityActor) |
| void | GravityDirectionChanged (const EGravityDirectionMode OldGravityDirectionMode) |
| virtual bool | GetShouldReplicateGravity () const |
Protected Attributes | |
| EGravityDirectionMode | GravityDirectionMode |
| FVector | GravityVectorA |
| FVector | GravityVectorB |
| TObjectPtr< AActor > | GravityActor |
| float | OldGravityScale |
| uint32 | bDirtyGravityDirection:1 |
| uint32 | bDisableGravityReplication:1 |
Private Member Functions | |
| virtual void | UpdateFromCompressedFlags (uint8 Flags) override |
| virtual class FNetworkPredictionData_Client * | GetPredictionData_Client () const override |
| virtual void | OnMovementUpdated (float DeltaTime, const FVector &OldLocation, const FVector &OldVelocity) override |
| virtual void | PhysWalking (float deltaTime, int32 Iterations) override |
| virtual float | GetMaxAcceleration () const override |
| virtual float | GetMaxBrakingDeceleration () const override |
| float | GetMappedSpeed () const |
| void | SetMovementSettings (FALSMovementSettings NewMovementSettings) |
| void | SetAllowedGait (EALSGait NewAllowedGait) |
| void | Server_SetAllowedGait (EALSGait NewAllowedGait) |
| virtual void | SetNewGravityScale (const float NewGravity) override |
| virtual void | ResetGravityScale () override |
| virtual void | SetFixedGravityDirection (const FVector &NewFixedGravityDirection) override |
| virtual void | SetSplineTangentGravityDirection (AActor *NewGravityActor) override |
| virtual void | SetPointGravityDirection (const FVector &NewGravityPoint) override |
| virtual void | SetPointGravityDirectionFromActor (AActor *NewGravityActor) override |
| virtual void | SetLineGravityDirection (const FVector &NewGravityLineStart, const FVector &NewGravityLineEnd) override |
| virtual void | SetSegmentGravityDirection (const FVector &NewGravitySegmentStart, const FVector &NewGravitySegmentEnd) override |
| virtual void | SetSplineGravityDirection (AActor *NewGravityActor) override |
| virtual void | SetPlaneGravityDirection (const FVector &NewGravityPlaneBase, const FVector &NewGravityPlaneNormal) override |
| virtual void | SetSplinePlaneGravityDirection (AActor *NewGravityActor) override |
| virtual void | SetBoxGravityDirection (const FVector &NewGravityBoxOrigin, const FVector &NewGravityBoxExtent) override |
| virtual void | SetBoxGravityDirectionFromActor (AActor *NewGravityActor) override |
| virtual void | SetCollisionGravityDirection (AActor *NewGravityActor) override |
| virtual bool | GetIsWalking () const override |
| virtual void | LaunchCharacter (const FVector &LaunchVel) override |
| virtual FVector | GetGravityDirection () const override |
| virtual void | UpdateGravity () |
| virtual void | ReplicateGravityToClients () |
| virtual void | SetAlignGravityToBase (bool bNewAlignGravityToBase) |
Private Attributes | |
| uint8 | bRequestMovementSettingsChange = 1 |
| EALSGait | AllowedGait = EALSGait::Walking |
| FALSMovementSettings | CurrentMovementSettings |
| FOnGravityDirectionChanged | OnGravityDirectionChanged |
| uint32 | bAlignGravityToBase:1 |
Additional Inherited Members |
Authoritative networked Character Movement
|
overrideprivatevirtual |
Implements IALSGravityMovementInterface.
|
overrideprivatevirtual |
Returns true if the character is in the 'Walking' movement mode.
Implements IALSGravityMovementInterface.
|
private |
|
overrideprivatevirtual |
|
overrideprivatevirtual |
|
overrideprivatevirtual |
|
protectedvirtual |
Asks if gravity data should be replicated from server to clients.
|
protected |
Called after GravityDirectionMode (or related data) has changed.
| OldGravityDirectionMode | - previous value of GravityDirectionMode |
|
overrideprivatevirtual |
Queue a pending launch with velocity LaunchVel.
Implements IALSGravityMovementInterface.
|
protectedvirtual |
Disables bAlignGravityToBase flag for clients.
|
protectedvirtual |
Enables bAlignGravityToBase flag for clients.
|
protectedvirtual |
Replicates a new axis-aligned box for gravity to clients.
| NewGravityBoxOrigin | - origin of the box |
| NewGravityBoxExtent | - extents of the box |
|
protectedvirtual |
Replicates a new axis-aligned box for gravity to clients.
| NewGravityActor | - Actor that provides its collision bounding box as gravity target |
|
protectedvirtual |
Replicates a new collision geometry for gravity to clients.
| NewGravityActor | - Actor that owns the PrimitiveComponent that has collision geometry |
|
protectedvirtual |
Replicates a new fixed gravity direction to clients.
| NewFixedGravityDirection | - new fixed gravity direction, assumes it is normalized |
|
protectedvirtual |
Replicates gravity scale factor to clients.
| NewGravityScale | - new gravity scale factor |
|
protectedvirtual |
Replicates a new infinite line for gravity to clients.
| NewGravityLineStart | - a point that belongs to the infinite line |
| NewGravityLineEnd | - another point that belongs to the infinite line |
|
protectedvirtual |
Replicates a new infinite plane for gravity to clients.
| NewGravityPlaneBase | - a point that belongs to the plane |
| NewGravityPlaneNormal | - normal of the plane, assumes it is normalized |
|
protectedvirtual |
Replicates a new gravity point to clients.
| NewGravityPoint | - new point which gravity direction points to |
|
protectedvirtual |
Replicates a new gravity point to clients.
| NewGravityActor | - Actor that provides its location as gravity point |
|
protectedvirtual |
Replicates a new segment line for gravity to clients.
| NewGravitySegmentStart | - start point of the segment line |
| NewGravitySegmentEnd | - end point of the segment line |
|
protectedvirtual |
Replicates a new spline for gravity to clients.
| NewGravityActor | - Actor that provides a spline |
|
protectedvirtual |
Replicates a new infinite plane determined by closest spline point for gravity to clients.
| NewGravityActor | - Actor that provides a spline |
|
protectedvirtual |
Replicates a new spline gravity direction to clients.
| NewGravityActor | - Actor that provides a spline |
|
overrideprivatevirtual |
|
overrideprivatevirtual |
|
privatevirtual |
Sends gravity data from server to clients.
|
overrideprivatevirtual |
Implements IALSGravityMovementInterface.
|
private |
|
privatevirtual |
Sets a new state for bAlignGravityToBase flag.
| bNewAlignGravityToBase | - new value for bAlignGravityToBase flag |
|
private |
|
overrideprivatevirtual |
Sets a new axis-aligned box which gravity direction points to.
| NewGravityBoxOrigin | - origin of the box |
| NewGravityBoxExtent | - extents of the box |
Implements IALSGravityMovementInterface.
|
overrideprivatevirtual |
Sets a new axis-aligned box which gravity direction points to.
| NewGravityActor | - Actor that provides its collision bounding box as gravity target |
Implements IALSGravityMovementInterface.
|
overrideprivatevirtual |
Sets a new collision geometry which gravity direction points to.
| NewGravityActor | - Actor that owns the PrimitiveComponent that has collision geometry |
Implements IALSGravityMovementInterface.
|
overrideprivatevirtual |
Sets a new fixed gravity direction.
| NewFixedGravityDirection | - new fixed gravity direction, assumes it is normalized |
Implements IALSGravityMovementInterface.
|
overrideprivatevirtual |
Sets a new infinite line which gravity direction points to.
| NewGravityLineStart | - a point that belongs to the infinite line |
| NewGravityLineEnd | - another point that belongs to the infinite line |
Implements IALSGravityMovementInterface.
|
private |
|
overrideprivatevirtual |
Implements IALSGravityMovementInterface.
|
overrideprivatevirtual |
Sets a new infinite plane which gravity direction points to.
| NewGravityPlaneBase | - a point that belongs to the plane |
| NewGravityPlaneNormal | - normal of the plane, assumes it is normalized |
Implements IALSGravityMovementInterface.
|
overrideprivatevirtual |
Sets a new point which gravity direction points to.
| NewGravityPoint | - new point which gravity direction points to |
Implements IALSGravityMovementInterface.
|
overrideprivatevirtual |
Sets a new point which gravity direction points to.
| NewGravityActor | - Actor that provides its location as gravity point |
Implements IALSGravityMovementInterface.
|
overrideprivatevirtual |
Sets a new segment line which gravity direction points to.
| NewGravitySegmentStart | - start point of the segment line |
| NewGravitySegmentEnd | - end point of the segment line |
Implements IALSGravityMovementInterface.
|
overrideprivatevirtual |
Sets a new spline which gravity direction points to.
| NewGravityActor | - Actor that provides a spline |
Implements IALSGravityMovementInterface.
|
overrideprivatevirtual |
Sets a new infinite plane determined by closest spline point and spline up vector which gravity direction points to.
| NewGravityActor | - Actor that provides a spline |
Implements IALSGravityMovementInterface.
|
overrideprivatevirtual |
Sets a new gravity direction determined by closest spline tangent.
| NewGravityActor | - Actor that provides a spline |
Implements IALSGravityMovementInterface.
|
overrideprivatevirtual |
|
privatevirtual |
Update values related to gravity.
|
private |
|
private |
If true and a floor is found, rotate gravity direction and align it to floor base.
|
protected |
If true, gravity direction changed and needs to be replicated.
|
protected |
If true, gravity data isn't replicated from server to clients.
|
private |
|
private |
|
protected |
Optional Actor that determines direction of gravity.
|
protected |
Mode that determines direction of gravity.
|
protected |
Stores information that determines direction of gravity.
|
protected |
Stores additional information that determines direction of gravity.
|
protected |
Stores last known value of GravityScale.
|
private |