A Demo Project for the UnrealEngineSDK
Loading...
Searching...
No Matches
AVRWheeledVehicle Class ReferenceBlueprintType

UCLASS(config = Game, BlueprintType) More...

#include <VRWheeledVehicle.h>

Inheritance diagram for AVRWheeledVehicle:
[legend]

Public Member Functions

virtual bool ForceSecondaryPossession (AController *NewController)
 UFUNCTION(BlueprintCallable, Category = "Pawn")
 
virtual void OnRep_Controller () override
 
virtual bool SetBindToInput (AController *CController, bool bBindToInput)
 UFUNCTION(BlueprintCallable, Category = "Pawn")
 
virtual bool SetOverrideController (AController *NewController)
 UFUNCTION(BlueprintCallable, Category = "Pawn")
 

Private Member Functions

 GENERATED_BODY ()
 

Detailed Description

UCLASS(config = Game, BlueprintType)

This override of the base wheeled vehicle allows for dual pawn usage in engine. It adds two new functions: SetBindToInput to bind input locally to the pawn and ForceSecondaryPossession which fakes possession so the player can control the vehicle as if they were locally possessed into it in a multiplayer enviroment (no lag).

Definition at line 31 of file VRWheeledVehicle.h.

Member Function Documentation

◆ ForceSecondaryPossession()

virtual bool AVRWheeledVehicle::ForceSecondaryPossession ( AController * NewController)
inlinevirtualBlueprintCallable

UFUNCTION(BlueprintCallable, Category = "Pawn")

Definition at line 168 of file VRWheeledVehicle.h.

◆ GENERATED_BODY()

AVRWheeledVehicle::GENERATED_BODY ( )
private

◆ OnRep_Controller()

virtual void AVRWheeledVehicle::OnRep_Controller ( )
inlineoverridevirtual

Call this function to detach safely pawn from its controller, knowing that we will be destroyed soon.

Definition at line 57 of file VRWheeledVehicle.h.

◆ SetBindToInput()

virtual bool AVRWheeledVehicle::SetBindToInput ( AController * CController,
bool bBindToInput )
inlinevirtualBlueprintCallable

UFUNCTION(BlueprintCallable, Category = "Pawn")

Definition at line 88 of file VRWheeledVehicle.h.

◆ SetOverrideController()

virtual bool AVRWheeledVehicle::SetOverrideController ( AController * NewController)
inlinevirtualBlueprintCallable

UFUNCTION(BlueprintCallable, Category = "Pawn")

Definition at line 144 of file VRWheeledVehicle.h.


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