Property | Type | Description | |
---|---|---|---|
BallString | string | ||
BallTime | float | ||
WallString | string | ||
WallTime | float | ||
rumbleBall | float | ||
rumbleBallNear | float | ||
rumbleWall | float |
Method | Description | |
---|---|---|
OnCollisionEnter ( Collision col ) : void |
Detect when the player enters a trigger with the tag collideString and Activates the Rumble Function.
|
|
Start ( ) : void | ||
Update ( ) : void |
When the ball is close enought to the player to pick up, vibrate slightly
|
public OnCollisionEnter ( Collision col ) : void | ||
col | Collision | |
return | void |