BakkesMod Programming Wiki
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

BallWrapper : RBActorWrapper

View Implementation

Any ball in the match. There can be more than one!

The best way to get the ball is ServerWrapper.GetGameBalls()


float 
GetLastTouchTime()



PredictionInfo 
PredictPosition(float timeAhead)


Parameter Type Description
timeAhead float

_NODISCARD bool 
IsDropshotBall() const



_NODISCARD bool 
IsHauntedtBall() const



_NODISCARD bool 
IsGodBall() const



void 
FadeOutBall()



void 
FadeInBall()



FXActorWrapper 
GetEndOfGameFXArchetype()



void 
SetEndOfGameFXArchetype(FXActorWrapper newEndOfGameFXArchetype)


Parameter Type Description
newEndOfGameFXArchetype FXActorWrapper

unsigned long 
GetbAllowPlayerExplosionOverride()



void 
SetbAllowPlayerExplosionOverride(unsigned long newbAllowPlayerExplosionOverride)


Parameter Type Description
newbAllowPlayerExplosionOverride unsigned long

unsigned long 
GetbNotifyGroundHit()



void 
SetbNotifyGroundHit(unsigned long newbNotifyGroundHit)


Parameter Type Description
newbNotifyGroundHit unsigned long

unsigned long 
GetbEndOfGameHidden()



void 
SetbEndOfGameHidden(unsigned long newbEndOfGameHidden)


Parameter Type Description
newbEndOfGameHidden unsigned long

unsigned long 
GetbFadeIn()



void 
SetbFadeIn(unsigned long newbFadeIn)


Parameter Type Description
newbFadeIn unsigned long

unsigned long 
GetbFadeOut()



void 
SetbFadeOut(unsigned long newbFadeOut)


Parameter Type Description
newbFadeOut unsigned long

unsigned long 
GetbPredictionOnGround()



void 
SetbPredictionOnGround(unsigned long newbPredictionOnGround)


Parameter Type Description
newbPredictionOnGround unsigned long

unsigned long 
GetbCanBeAttached()



void 
SetbCanBeAttached(unsigned long newbCanBeAttached)


Parameter Type Description
newbCanBeAttached unsigned long

unsigned long 
GetbItemFreeze()



void 
SetbItemFreeze(unsigned long newbItemFreeze)


Parameter Type Description
newbItemFreeze unsigned long

Vector 
GetMagnusCoefficient()



void 
SetMagnusCoefficient(Vector newMagnusCoefficient)


Parameter Type Description
newMagnusCoefficient Vector

float 
GetRadius()



void 
SetRadius(float newRadius)


Parameter Type Description
newRadius float

float 
GetVisualRadius()



void 
SetVisualRadius(float newVisualRadius)


Parameter Type Description
newVisualRadius float

float 
GetLastCalculateCarHit()



Vector 
GetInitialLocation()



void 
SetInitialLocation(Vector newInitialLocation)


Parameter Type Description
newInitialLocation Vector

void 
SetInitialRotation(Rotator newInitialRotation)


Parameter Type Description
newInitialRotation Rotator

float 
GetLastHitWorldTime()



float 
GetReplicatedBallScale()



void 
SetReplicatedBallScale(float newReplicatedBallScale)


Parameter Type Description
newReplicatedBallScale float

float 
GetReplicatedWorldBounceScale()



void 
SetReplicatedWorldBounceScale(float newReplicatedWorldBounceScale)


Parameter Type Description
newReplicatedWorldBounceScale float

float 
GetReplicatedBallGravityScale()



void 
SetReplicatedBallGravityScale(float newReplicatedBallGravityScale)


Parameter Type Description
newReplicatedBallGravityScale float

float 
GetReplicatedBallMaxLinearSpeedScale()



void 
SetReplicatedBallMaxLinearSpeedScale(float newReplicatedBallMaxLinearSpeedScale)


Parameter Type Description
newReplicatedBallMaxLinearSpeedScale float

float 
GetReplicatedAddedCarBounceScale()



void 
SetReplicatedAddedCarBounceScale(float newReplicatedAddedCarBounceScale)


Parameter Type Description
newReplicatedAddedCarBounceScale float

float 
GetAdditionalCarGroundBounceScaleZ()



void 
SetAdditionalCarGroundBounceScaleZ(float newAdditionalCarGroundBounceScaleZ)


Parameter Type Description
newAdditionalCarGroundBounceScaleZ float

float 
GetAdditionalCarGroundBounceScaleXY()



void 
SetAdditionalCarGroundBounceScaleXY(float newAdditionalCarGroundBounceScaleXY)


Parameter Type Description
newAdditionalCarGroundBounceScaleXY float

unsigned char 
GetHitTeamNum()



void 
SetHitTeamNum(unsigned char newHitTeamNum)


Parameter Type Description
newHitTeamNum unsigned char

ServerWrapper 
GetGameEvent()



float 
GetExplosionTime()



void 
SetExplosionTime(float newExplosionTime)


Parameter Type Description
newExplosionTime float

Vector 
GetOldLocation()



void 
SetOldLocation(Vector newOldLocation)


Parameter Type Description
newOldLocation Vector

float 
GetPredictionTimestep()



void 
SetPredictionTimestep(float newPredictionTimestep)


Parameter Type Description
newPredictionTimestep float

float 
GetLastPredictionTime()



void 
SetLastPredictionTime(float newLastPredictionTime)


Parameter Type Description
newLastPredictionTime float

float 
GetGroundForce()



void 
SetGroundForce(float newGroundForce)


Parameter Type Description
newGroundForce float

CarWrapper 
GetCurrentAffector()



void 
SetCurrentAffector(CarWrapper newCurrentAffector)


Parameter Type Description
newCurrentAffector CarWrapper

Vector 
GetTrajectoryStartVelocity()



Rotator 
GetTrajectoryStartRotation()



Vector 
GetTrajectoryStartLocation()



bool 
ShouldDrawTrajectory()



float 
GetAdditionalCarBounceScaleZ(CarWrapper Car)


Parameter Type Description
Car CarWrapper

void 
SetEndOfGameHidden()



void 
Explode(GoalWrapper ExplosionGoal, Vector &ExplodeLocation, PriWrapper Scorer)


Parameter Type Description
ExplosionGoal GoalWrapper
ExplodeLocation Vector
Scorer PriWrapper

void 
DoDestroy()



void 
DoExplode()



void 
Launch(Vector &LaunchPosition, Vector &LaunchDirection)


Parameter Type Description
LaunchPosition Vector
LaunchDirection Vector

void 
OnCarTouch(CarWrapper HitCar, unsigned char HitType)


Parameter Type Description
HitCar CarWrapper
HitType unsigned char

void 
RecordCarHit(CarWrapper HitCar, Vector &HitLocation, Vector &HitNormal, unsigned char HitType)


Parameter Type Description
HitCar CarWrapper
HitLocation Vector
HitNormal Vector
HitType unsigned char

bool 
IsGroundHit(Vector &HitNormal)


Parameter Type Description
HitNormal Vector

void 
FellOutOfWorld()



bool 
IsRoundActive()



void 
eventOnHitGoal(GoalWrapper Goal, Vector &HitLoc)


Parameter Type Description
Goal GoalWrapper
HitLoc Vector

void 
TurnOff()



void 
InitAk()



void 
SetWorldBounceScale(float NewScale)


Parameter Type Description
NewScale float

void 
SetCarBounceScale(float NewScale)


Parameter Type Description
NewScale float

void 
SetBallMaxLinearSpeedScale(float InMaxLinearSpeedScale)


Parameter Type Description
InMaxLinearSpeedScale float

void 
SetBallGravityScale(float InBallGravityScale)


Parameter Type Description
InBallGravityScale float

void 
SetBallScale(float NewScale)


Parameter Type Description
NewScale float

void 
EventHitGoal(BallWrapper Ball, GoalWrapper Goal)


Parameter Type Description
Ball BallWrapper
Goal GoalWrapper