FirstPersonPlayer module¶
- class FirstPersonPlayer.FirstPersonPlayer(app, x=- 10, y=- 10, z=5, rx=0, ry=0, rz=0, sx=1, sy=1, sz=1)¶
Bases:
src.GameObjects.DynamicObject.DynamicObject
- isGrounded()¶
isGrounded If the player is on ground
- Returns
If the player is on ground
- Return type
bool
- update(task)¶
update Update function for the dynamic object. Please execute super().__init__(task) on it.