|
uLua v3.1.0
A Lua Modding Framework for Unity.
|
Implements controls for ball objects. More...
Public Member Functions | |
| void | AdjustAngle (float Degrees) |
| Adjusts the angle of motion of the ball by the specified value. More... | |
| void | Reset () |
| Resets the position of the ball to its starting position and sets the ball in motion. More... | |
Properties | |
| bool | IsStuck [get] |
| Checks if the ball is in risk of getting stuck bouncing in a straight line back and forth (horizontally or vertically). | |
Implements controls for ball objects.
|
inline |
Adjusts the angle of motion of the ball by the specified value.
| Degrees | The adjustment value (in degrees) for the angle. |
|
inline |
Resets the position of the ball to its starting position and sets the ball in motion.
This method is exposed to the API by the uLua.PaddleGame.Ball class.