Football

Football

Football
Componente
Combinar:
Level Object

Football

Propiedades

Nombre Tipo Descripción Nombre del script
Radius Float Radius of the soccer ball Radius
Rolling Friction Coeff Float Friction coefficient at normal condition RollingFrictionCoeff
Friction Multiplier (Collision) Float Impact Friction RollingFrictionCoeffRushing
Min. Shooting Angle Int Min. Shooting Angle ShootAngleMin
Min. Elevation Angle Int Min. Elevation Angle HighShootAngleMin
Reset Time Int Reset Time ResetTime
Max. Shooting Angle Int Max. Shooting Angle ShootAngleMax
Reset Position Vector3 Reset Position ResetPosition

Event

Nombre Descripción
On Shot By Football Shooter Triggered when hit by a football gun
On Football Collided Fired when the ball collides with an entity
On Goal Triggered when the ball enters the goal

API

Nombre Descripción
Add Football Velocity Add a velocity to a soccer ball. The velocity changes from the effect of acceleration in the same direction
Set Football Position Setting the soccer ball position