Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ StepGolfBall()

static BallStepResult Terraria.GameContent.Golf.GolfHelper.StepGolfBall ( Entity entity,
ref float angularVelocity )
inlinestatic

Definition at line 296 of file GolfHelper.cs.

297 {
298 return BallCollision.Step(PhysicsProperties, entity, ref angularVelocity, Listener);
299 }
static readonly ContactListener Listener
static BallStepResult Step(PhysicsProperties physicsProperties, Entity entity, ref float entityAngularVelocity, IBallContactListener listener)

References Terraria.GameContent.Golf.GolfHelper.Listener, and Terraria.Physics.BallCollision.Step().

Referenced by Terraria.Projectile.AI_149_GolfBall(), and Terraria.GameContent.Golf.FancyGolfPredictionLine.Update().