Files
Crash-Course/Documentation/api/Player.PlayerMovement.yml

701 lines
20 KiB
YAML
Raw Permalink Normal View History

2025-04-16 19:20:36 -04:00
### YamlMime:ManagedReference
items:
2025-04-16 19:57:54 -04:00
- uid: Player.PlayerMovement
commentId: T:Player.PlayerMovement
2025-04-16 19:20:36 -04:00
id: PlayerMovement
2025-04-16 19:57:54 -04:00
parent: Player
2025-04-16 19:20:36 -04:00
children:
2025-04-16 19:57:54 -04:00
- Player.PlayerMovement.coyoteTime
- Player.PlayerMovement.GetPointInBoxCollider(BoxCollider2D,System.Single,System.Single)
- Player.PlayerMovement.ground
- Player.PlayerMovement.groundCheckDistance
- Player.PlayerMovement.IsBasicallyGrounded
- Player.PlayerMovement.IsPhysicallyGrounded
- Player.PlayerMovement.jumpLenience
- Player.PlayerMovement.jumpSpeed
- Player.PlayerMovement.maxSpeed
- Player.PlayerMovement.maxSpeedOverride
- Player.PlayerMovement.playerText
- Player.PlayerMovement.secondsToFullSpeed
- Player.PlayerMovement.slowdownMultiplier
- Player.PlayerMovement.StopVelocity
- Player.PlayerMovement.timeUnableToBeDeclaredNotJumping
- Player.PlayerMovement.turnaroundMultiplier
- Player.PlayerMovement.virtualAxisX
- Player.PlayerMovement.virtualButtonJump
- Player.PlayerMovement.virtualButtonJumpLastFrame
- Player.PlayerMovement.walkSmooth
- Player.PlayerMovement.walkSpeed
- Player.PlayerMovement.walkSpeedFactor
2025-04-16 19:20:36 -04:00
langs:
- csharp
- vb
name: PlayerMovement
nameWithType: PlayerMovement
2025-04-16 19:57:54 -04:00
fullName: Player.PlayerMovement
2025-04-16 19:20:36 -04:00
type: Class
source:
id: PlayerMovement
path: ''
2025-04-19 12:59:07 -04:00
startLine: 4087
2025-04-16 19:20:36 -04:00
assemblies:
- cs.temp.dll
2025-04-16 19:57:54 -04:00
namespace: Player
2025-04-18 20:11:19 -04:00
summary: "\nThis class handles the player's movement, including walking, jumping, and animations.\nIt also manages input, physics, and interactions with the ground.\n"
example: []
2025-04-16 19:20:36 -04:00
syntax:
content: 'public class PlayerMovement : MonoBehaviour'
content.vb: Public Class PlayerMovement Inherits MonoBehaviour
inheritance:
- System.Object
2025-04-16 19:57:54 -04:00
- uid: Player.PlayerMovement.ground
commentId: F:Player.PlayerMovement.ground
2025-04-16 19:20:36 -04:00
id: ground
2025-04-16 19:57:54 -04:00
parent: Player.PlayerMovement
2025-04-16 19:20:36 -04:00
langs:
- csharp
- vb
name: ground
nameWithType: PlayerMovement.ground
2025-04-16 19:57:54 -04:00
fullName: Player.PlayerMovement.ground
2025-04-16 19:20:36 -04:00
type: Field
source:
id: ground
path: ''
2025-04-19 12:59:07 -04:00
startLine: 4100
2025-04-16 19:20:36 -04:00
assemblies:
- cs.temp.dll
2025-04-16 19:57:54 -04:00
namespace: Player
2025-04-17 18:32:27 -04:00
summary: "\nLayers considered as ground for the player.\n"
example: []
2025-04-16 19:20:36 -04:00
syntax:
content: public LayerMask ground
return:
type: Global.LayerMask
content.vb: Public ground As LayerMask
2025-04-16 19:57:54 -04:00
- uid: Player.PlayerMovement.playerText
commentId: F:Player.PlayerMovement.playerText
2025-04-16 19:20:36 -04:00
id: playerText
2025-04-16 19:57:54 -04:00
parent: Player.PlayerMovement
2025-04-16 19:20:36 -04:00
langs:
- csharp
- vb
name: playerText
nameWithType: PlayerMovement.playerText
2025-04-16 19:57:54 -04:00
fullName: Player.PlayerMovement.playerText
2025-04-16 19:20:36 -04:00
type: Field
source:
id: playerText
path: ''
2025-04-19 12:59:07 -04:00
startLine: 4105
2025-04-16 19:20:36 -04:00
assemblies:
- cs.temp.dll
2025-04-16 19:57:54 -04:00
namespace: Player
2025-04-17 18:32:27 -04:00
summary: "\nReference to the player's UI text displaying player index.\n"
example: []
2025-04-16 19:20:36 -04:00
syntax:
content: public TextMeshProUGUI playerText
return:
type: Global.TextMeshProUGUI
content.vb: Public playerText As TextMeshProUGUI
2025-04-16 19:57:54 -04:00
- uid: Player.PlayerMovement.walkSpeed
commentId: F:Player.PlayerMovement.walkSpeed
2025-04-16 19:20:36 -04:00
id: walkSpeed
2025-04-16 19:57:54 -04:00
parent: Player.PlayerMovement
2025-04-16 19:20:36 -04:00
langs:
- csharp
- vb
name: walkSpeed
nameWithType: PlayerMovement.walkSpeed
2025-04-16 19:57:54 -04:00
fullName: Player.PlayerMovement.walkSpeed
2025-04-16 19:20:36 -04:00
type: Field
source:
id: walkSpeed
path: ''
2025-04-19 12:59:07 -04:00
startLine: 4112
2025-04-16 19:20:36 -04:00
assemblies:
- cs.temp.dll
2025-04-16 19:57:54 -04:00
namespace: Player
2025-04-16 19:20:36 -04:00
syntax:
content: public float walkSpeed
return:
type: System.Single
content.vb: Public walkSpeed As Single
2025-04-16 19:57:54 -04:00
- uid: Player.PlayerMovement.walkSpeedFactor
commentId: F:Player.PlayerMovement.walkSpeedFactor
2025-04-16 19:20:36 -04:00
id: walkSpeedFactor
2025-04-16 19:57:54 -04:00
parent: Player.PlayerMovement
2025-04-16 19:20:36 -04:00
langs:
- csharp
- vb
name: walkSpeedFactor
nameWithType: PlayerMovement.walkSpeedFactor
2025-04-16 19:57:54 -04:00
fullName: Player.PlayerMovement.walkSpeedFactor
2025-04-16 19:20:36 -04:00
type: Field
source:
id: walkSpeedFactor
path: ''
2025-04-19 12:59:07 -04:00
startLine: 4117
2025-04-16 19:20:36 -04:00
assemblies:
- cs.temp.dll
2025-04-16 19:57:54 -04:00
namespace: Player
2025-04-17 18:32:27 -04:00
summary: "\nMultiplier applied to walk speed.\n"
example: []
2025-04-16 19:20:36 -04:00
syntax:
content: public float walkSpeedFactor
return:
type: System.Single
content.vb: Public walkSpeedFactor As Single
2025-04-16 19:57:54 -04:00
- uid: Player.PlayerMovement.maxSpeed
commentId: F:Player.PlayerMovement.maxSpeed
2025-04-16 19:20:36 -04:00
id: maxSpeed
2025-04-16 19:57:54 -04:00
parent: Player.PlayerMovement
2025-04-16 19:20:36 -04:00
langs:
- csharp
- vb
name: maxSpeed
nameWithType: PlayerMovement.maxSpeed
2025-04-16 19:57:54 -04:00
fullName: Player.PlayerMovement.maxSpeed
2025-04-16 19:20:36 -04:00
type: Field
source:
id: maxSpeed
path: ''
2025-04-19 12:59:07 -04:00
startLine: 4122
2025-04-16 19:20:36 -04:00
assemblies:
- cs.temp.dll
2025-04-16 19:57:54 -04:00
namespace: Player
2025-04-17 18:32:27 -04:00
summary: "\nMaximum allowed horizontal speed for the player.\n"
example: []
2025-04-16 19:20:36 -04:00
syntax:
content: public float maxSpeed
return:
type: System.Single
content.vb: Public maxSpeed As Single
2025-04-16 19:57:54 -04:00
- uid: Player.PlayerMovement.maxSpeedOverride
commentId: F:Player.PlayerMovement.maxSpeedOverride
2025-04-16 19:20:36 -04:00
id: maxSpeedOverride
2025-04-16 19:57:54 -04:00
parent: Player.PlayerMovement
2025-04-16 19:20:36 -04:00
langs:
- csharp
- vb
name: maxSpeedOverride
nameWithType: PlayerMovement.maxSpeedOverride
2025-04-16 19:57:54 -04:00
fullName: Player.PlayerMovement.maxSpeedOverride
2025-04-16 19:20:36 -04:00
type: Field
source:
id: maxSpeedOverride
path: ''
2025-04-19 12:59:07 -04:00
startLine: 4127
2025-04-16 19:20:36 -04:00
assemblies:
- cs.temp.dll
2025-04-16 19:57:54 -04:00
namespace: Player
2025-04-17 18:32:27 -04:00
summary: "\nRuntime override for the maximum speed.\n"
example: []
2025-04-16 19:20:36 -04:00
syntax:
content: public float maxSpeedOverride
return:
type: System.Single
content.vb: Public maxSpeedOverride As Single
2025-04-16 19:57:54 -04:00
- uid: Player.PlayerMovement.slowdownMultiplier
commentId: F:Player.PlayerMovement.slowdownMultiplier
2025-04-16 19:20:36 -04:00
id: slowdownMultiplier
2025-04-16 19:57:54 -04:00
parent: Player.PlayerMovement
2025-04-16 19:20:36 -04:00
langs:
- csharp
- vb
name: slowdownMultiplier
nameWithType: PlayerMovement.slowdownMultiplier
2025-04-16 19:57:54 -04:00
fullName: Player.PlayerMovement.slowdownMultiplier
2025-04-16 19:20:36 -04:00
type: Field
source:
id: slowdownMultiplier
path: ''
2025-04-19 12:59:07 -04:00
startLine: 4132
2025-04-16 19:20:36 -04:00
assemblies:
- cs.temp.dll
2025-04-16 19:57:54 -04:00
namespace: Player
2025-04-17 18:32:27 -04:00
summary: "\nMultiplier for slowing down the player when exceeding max speed.\n"
example: []
2025-04-16 19:20:36 -04:00
syntax:
content: public float slowdownMultiplier
return:
type: System.Single
content.vb: Public slowdownMultiplier As Single
2025-04-16 19:57:54 -04:00
- uid: Player.PlayerMovement.virtualAxisX
commentId: F:Player.PlayerMovement.virtualAxisX
2025-04-16 19:20:36 -04:00
id: virtualAxisX
2025-04-16 19:57:54 -04:00
parent: Player.PlayerMovement
2025-04-16 19:20:36 -04:00
langs:
- csharp
- vb
name: virtualAxisX
nameWithType: PlayerMovement.virtualAxisX
2025-04-16 19:57:54 -04:00
fullName: Player.PlayerMovement.virtualAxisX
2025-04-16 19:20:36 -04:00
type: Field
source:
id: virtualAxisX
path: ''
2025-04-19 12:59:07 -04:00
startLine: 4137
2025-04-16 19:20:36 -04:00
assemblies:
- cs.temp.dll
2025-04-16 19:57:54 -04:00
namespace: Player
2025-04-17 18:32:27 -04:00
summary: "\nCurrent value of the horizontal movement axis.\n"
example: []
2025-04-16 19:20:36 -04:00
syntax:
content: public float virtualAxisX
return:
type: System.Single
content.vb: Public virtualAxisX As Single
2025-04-16 19:57:54 -04:00
- uid: Player.PlayerMovement.virtualButtonJump
commentId: F:Player.PlayerMovement.virtualButtonJump
2025-04-16 19:20:36 -04:00
id: virtualButtonJump
2025-04-16 19:57:54 -04:00
parent: Player.PlayerMovement
2025-04-16 19:20:36 -04:00
langs:
- csharp
- vb
name: virtualButtonJump
nameWithType: PlayerMovement.virtualButtonJump
2025-04-16 19:57:54 -04:00
fullName: Player.PlayerMovement.virtualButtonJump
2025-04-16 19:20:36 -04:00
type: Field
source:
id: virtualButtonJump
path: ''
2025-04-19 12:59:07 -04:00
startLine: 4142
2025-04-16 19:20:36 -04:00
assemblies:
- cs.temp.dll
2025-04-16 19:57:54 -04:00
namespace: Player
2025-04-17 18:32:27 -04:00
summary: "\nCurrent value of the jump button (pressed or not).\n"
example: []
2025-04-16 19:20:36 -04:00
syntax:
content: public float virtualButtonJump
return:
type: System.Single
content.vb: Public virtualButtonJump As Single
2025-04-16 19:57:54 -04:00
- uid: Player.PlayerMovement.virtualButtonJumpLastFrame
commentId: F:Player.PlayerMovement.virtualButtonJumpLastFrame
2025-04-16 19:20:36 -04:00
id: virtualButtonJumpLastFrame
2025-04-16 19:57:54 -04:00
parent: Player.PlayerMovement
2025-04-16 19:20:36 -04:00
langs:
- csharp
- vb
name: virtualButtonJumpLastFrame
nameWithType: PlayerMovement.virtualButtonJumpLastFrame
2025-04-16 19:57:54 -04:00
fullName: Player.PlayerMovement.virtualButtonJumpLastFrame
2025-04-16 19:20:36 -04:00
type: Field
source:
id: virtualButtonJumpLastFrame
path: ''
2025-04-19 12:59:07 -04:00
startLine: 4147
2025-04-16 19:20:36 -04:00
assemblies:
- cs.temp.dll
2025-04-16 19:57:54 -04:00
namespace: Player
2025-04-17 18:32:27 -04:00
summary: "\nValue of the jump button in the previous frame.\n"
example: []
2025-04-16 19:20:36 -04:00
syntax:
content: public float virtualButtonJumpLastFrame
return:
type: System.Single
content.vb: Public virtualButtonJumpLastFrame As Single
2025-04-16 19:57:54 -04:00
- uid: Player.PlayerMovement.turnaroundMultiplier
commentId: F:Player.PlayerMovement.turnaroundMultiplier
2025-04-16 19:20:36 -04:00
id: turnaroundMultiplier
2025-04-16 19:57:54 -04:00
parent: Player.PlayerMovement
2025-04-16 19:20:36 -04:00
langs:
- csharp
- vb
name: turnaroundMultiplier
nameWithType: PlayerMovement.turnaroundMultiplier
2025-04-16 19:57:54 -04:00
fullName: Player.PlayerMovement.turnaroundMultiplier
2025-04-16 19:20:36 -04:00
type: Field
source:
id: turnaroundMultiplier
path: ''
2025-04-19 12:59:07 -04:00
startLine: 4152
2025-04-16 19:20:36 -04:00
assemblies:
- cs.temp.dll
2025-04-16 19:57:54 -04:00
namespace: Player
2025-04-17 18:32:27 -04:00
summary: "\nMultiplier applied when turning around to adjust speed.\n"
example: []
2025-04-16 19:20:36 -04:00
syntax:
content: public float turnaroundMultiplier
return:
type: System.Single
content.vb: Public turnaroundMultiplier As Single
2025-04-16 19:57:54 -04:00
- uid: Player.PlayerMovement.walkSmooth
commentId: F:Player.PlayerMovement.walkSmooth
2025-04-16 19:20:36 -04:00
id: walkSmooth
2025-04-16 19:57:54 -04:00
parent: Player.PlayerMovement
2025-04-16 19:20:36 -04:00
langs:
- csharp
- vb
name: walkSmooth
nameWithType: PlayerMovement.walkSmooth
2025-04-16 19:57:54 -04:00
fullName: Player.PlayerMovement.walkSmooth
2025-04-16 19:20:36 -04:00
type: Field
source:
id: walkSmooth
path: ''
2025-04-19 12:59:07 -04:00
startLine: 4157
2025-04-16 19:20:36 -04:00
assemblies:
- cs.temp.dll
2025-04-16 19:57:54 -04:00
namespace: Player
2025-04-17 18:32:27 -04:00
summary: "\nSmoothing factor for walking movement.\n"
example: []
2025-04-16 19:20:36 -04:00
syntax:
content: public float walkSmooth
return:
type: System.Single
content.vb: Public walkSmooth As Single
2025-04-16 19:57:54 -04:00
- uid: Player.PlayerMovement.secondsToFullSpeed
commentId: F:Player.PlayerMovement.secondsToFullSpeed
2025-04-16 19:20:36 -04:00
id: secondsToFullSpeed
2025-04-16 19:57:54 -04:00
parent: Player.PlayerMovement
2025-04-16 19:20:36 -04:00
langs:
- csharp
- vb
name: secondsToFullSpeed
nameWithType: PlayerMovement.secondsToFullSpeed
2025-04-16 19:57:54 -04:00
fullName: Player.PlayerMovement.secondsToFullSpeed
2025-04-16 19:20:36 -04:00
type: Field
source:
id: secondsToFullSpeed
path: ''
2025-04-19 12:59:07 -04:00
startLine: 4162
2025-04-16 19:20:36 -04:00
assemblies:
- cs.temp.dll
2025-04-16 19:57:54 -04:00
namespace: Player
2025-04-17 18:32:27 -04:00
summary: "\nTime in seconds to reach full speed from rest.\n"
example: []
2025-04-16 19:20:36 -04:00
syntax:
content: public float secondsToFullSpeed
return:
type: System.Single
content.vb: Public secondsToFullSpeed As Single
2025-04-16 19:57:54 -04:00
- uid: Player.PlayerMovement.jumpSpeed
commentId: F:Player.PlayerMovement.jumpSpeed
2025-04-16 19:20:36 -04:00
id: jumpSpeed
2025-04-16 19:57:54 -04:00
parent: Player.PlayerMovement
2025-04-16 19:20:36 -04:00
langs:
- csharp
- vb
name: jumpSpeed
nameWithType: PlayerMovement.jumpSpeed
2025-04-16 19:57:54 -04:00
fullName: Player.PlayerMovement.jumpSpeed
2025-04-16 19:20:36 -04:00
type: Field
source:
id: jumpSpeed
path: ''
2025-04-19 12:59:07 -04:00
startLine: 4167
2025-04-16 19:20:36 -04:00
assemblies:
- cs.temp.dll
2025-04-16 19:57:54 -04:00
namespace: Player
2025-04-17 18:32:27 -04:00
summary: "\nForce applied when jumping.\n"
example: []
2025-04-16 19:20:36 -04:00
syntax:
content: public float jumpSpeed
return:
type: System.Single
content.vb: Public jumpSpeed As Single
2025-04-16 19:57:54 -04:00
- uid: Player.PlayerMovement.coyoteTime
commentId: F:Player.PlayerMovement.coyoteTime
2025-04-16 19:20:36 -04:00
id: coyoteTime
2025-04-16 19:57:54 -04:00
parent: Player.PlayerMovement
2025-04-16 19:20:36 -04:00
langs:
- csharp
- vb
name: coyoteTime
nameWithType: PlayerMovement.coyoteTime
2025-04-16 19:57:54 -04:00
fullName: Player.PlayerMovement.coyoteTime
2025-04-16 19:20:36 -04:00
type: Field
source:
id: coyoteTime
path: ''
2025-04-19 12:59:07 -04:00
startLine: 4172
2025-04-16 19:20:36 -04:00
assemblies:
- cs.temp.dll
2025-04-16 19:57:54 -04:00
namespace: Player
2025-04-17 18:32:27 -04:00
summary: "\nTime window after leaving ground where jump is still allowed (coyote time).\n"
example: []
2025-04-16 19:20:36 -04:00
syntax:
content: public float coyoteTime
return:
type: System.Single
content.vb: Public coyoteTime As Single
2025-04-16 19:57:54 -04:00
- uid: Player.PlayerMovement.jumpLenience
commentId: F:Player.PlayerMovement.jumpLenience
2025-04-16 19:20:36 -04:00
id: jumpLenience
2025-04-16 19:57:54 -04:00
parent: Player.PlayerMovement
2025-04-16 19:20:36 -04:00
langs:
- csharp
- vb
name: jumpLenience
nameWithType: PlayerMovement.jumpLenience
2025-04-16 19:57:54 -04:00
fullName: Player.PlayerMovement.jumpLenience
2025-04-16 19:20:36 -04:00
type: Field
source:
id: jumpLenience
path: ''
2025-04-19 12:59:07 -04:00
startLine: 4177
2025-04-16 19:20:36 -04:00
assemblies:
- cs.temp.dll
2025-04-16 19:57:54 -04:00
namespace: Player
2025-04-17 18:32:27 -04:00
summary: "\nTime window after pressing jump where jump is still buffered.\n"
example: []
2025-04-16 19:20:36 -04:00
syntax:
content: public float jumpLenience
return:
type: System.Single
content.vb: Public jumpLenience As Single
2025-04-16 19:57:54 -04:00
- uid: Player.PlayerMovement.timeUnableToBeDeclaredNotJumping
commentId: F:Player.PlayerMovement.timeUnableToBeDeclaredNotJumping
2025-04-16 19:20:36 -04:00
id: timeUnableToBeDeclaredNotJumping
2025-04-16 19:57:54 -04:00
parent: Player.PlayerMovement
2025-04-16 19:20:36 -04:00
langs:
- csharp
- vb
name: timeUnableToBeDeclaredNotJumping
nameWithType: PlayerMovement.timeUnableToBeDeclaredNotJumping
2025-04-16 19:57:54 -04:00
fullName: Player.PlayerMovement.timeUnableToBeDeclaredNotJumping
2025-04-16 19:20:36 -04:00
type: Field
source:
id: timeUnableToBeDeclaredNotJumping
path: ''
2025-04-19 12:59:07 -04:00
startLine: 4182
2025-04-16 19:20:36 -04:00
assemblies:
- cs.temp.dll
2025-04-16 19:57:54 -04:00
namespace: Player
2025-04-17 18:32:27 -04:00
summary: "\nMinimum time before the player can be declared as not jumping.\n"
example: []
2025-04-16 19:20:36 -04:00
syntax:
content: public float timeUnableToBeDeclaredNotJumping
return:
type: System.Single
content.vb: Public timeUnableToBeDeclaredNotJumping As Single
2025-04-16 19:57:54 -04:00
- uid: Player.PlayerMovement.groundCheckDistance
commentId: F:Player.PlayerMovement.groundCheckDistance
2025-04-16 19:20:36 -04:00
id: groundCheckDistance
2025-04-16 19:57:54 -04:00
parent: Player.PlayerMovement
2025-04-16 19:20:36 -04:00
langs:
- csharp
- vb
name: groundCheckDistance
nameWithType: PlayerMovement.groundCheckDistance
2025-04-16 19:57:54 -04:00
fullName: Player.PlayerMovement.groundCheckDistance
2025-04-16 19:20:36 -04:00
type: Field
source:
id: groundCheckDistance
path: ''
2025-04-19 12:59:07 -04:00
startLine: 4187
2025-04-16 19:20:36 -04:00
assemblies:
- cs.temp.dll
2025-04-16 19:57:54 -04:00
namespace: Player
2025-04-17 18:32:27 -04:00
summary: "\nDistance to check below the player for ground detection.\n"
example: []
2025-04-16 19:20:36 -04:00
syntax:
content: public float groundCheckDistance
return:
type: System.Single
content.vb: Public groundCheckDistance As Single
2025-04-16 19:57:54 -04:00
- uid: Player.PlayerMovement.IsBasicallyGrounded
commentId: M:Player.PlayerMovement.IsBasicallyGrounded
2025-04-16 19:20:36 -04:00
id: IsBasicallyGrounded
2025-04-16 19:57:54 -04:00
parent: Player.PlayerMovement
2025-04-16 19:20:36 -04:00
langs:
- csharp
- vb
name: IsBasicallyGrounded()
nameWithType: PlayerMovement.IsBasicallyGrounded()
2025-04-16 19:57:54 -04:00
fullName: Player.PlayerMovement.IsBasicallyGrounded()
2025-04-16 19:20:36 -04:00
type: Method
source:
id: IsBasicallyGrounded
path: ''
2025-04-19 12:59:07 -04:00
startLine: 4447
2025-04-16 19:20:36 -04:00
assemblies:
- cs.temp.dll
2025-04-16 19:57:54 -04:00
namespace: Player
2025-04-17 18:32:27 -04:00
summary: "\nChecks if the player is considered grounded, including coyote time.\n"
example: []
2025-04-16 19:20:36 -04:00
syntax:
content: public bool IsBasicallyGrounded()
return:
type: System.Boolean
2025-04-17 18:32:27 -04:00
description: True if the player is basically grounded, otherwise false.
2025-04-16 19:20:36 -04:00
content.vb: Public Function IsBasicallyGrounded() As Boolean
2025-04-16 19:57:54 -04:00
overload: Player.PlayerMovement.IsBasicallyGrounded*
- uid: Player.PlayerMovement.IsPhysicallyGrounded
commentId: M:Player.PlayerMovement.IsPhysicallyGrounded
2025-04-16 19:20:36 -04:00
id: IsPhysicallyGrounded
2025-04-16 19:57:54 -04:00
parent: Player.PlayerMovement
2025-04-16 19:20:36 -04:00
langs:
- csharp
- vb
name: IsPhysicallyGrounded()
nameWithType: PlayerMovement.IsPhysicallyGrounded()
2025-04-16 19:57:54 -04:00
fullName: Player.PlayerMovement.IsPhysicallyGrounded()
2025-04-16 19:20:36 -04:00
type: Method
source:
id: IsPhysicallyGrounded
path: ''
2025-04-19 12:59:07 -04:00
startLine: 4466
2025-04-16 19:20:36 -04:00
assemblies:
- cs.temp.dll
2025-04-16 19:57:54 -04:00
namespace: Player
2025-04-17 18:32:27 -04:00
summary: "\nChecks if the player is physically touching the ground using raycasts.\n"
example: []
2025-04-16 19:20:36 -04:00
syntax:
content: public bool IsPhysicallyGrounded()
return:
type: System.Boolean
2025-04-17 18:32:27 -04:00
description: True if the player is physically grounded, otherwise false.
2025-04-16 19:20:36 -04:00
content.vb: Public Function IsPhysicallyGrounded() As Boolean
2025-04-16 19:57:54 -04:00
overload: Player.PlayerMovement.IsPhysicallyGrounded*
- uid: Player.PlayerMovement.GetPointInBoxCollider(BoxCollider2D,System.Single,System.Single)
commentId: M:Player.PlayerMovement.GetPointInBoxCollider(BoxCollider2D,System.Single,System.Single)
2025-04-16 19:20:36 -04:00
id: GetPointInBoxCollider(BoxCollider2D,System.Single,System.Single)
2025-04-16 19:57:54 -04:00
parent: Player.PlayerMovement
2025-04-16 19:20:36 -04:00
langs:
- csharp
- vb
name: GetPointInBoxCollider(BoxCollider2D, float, float)
nameWithType: PlayerMovement.GetPointInBoxCollider(BoxCollider2D, float, float)
2025-04-16 19:57:54 -04:00
fullName: Player.PlayerMovement.GetPointInBoxCollider(BoxCollider2D, float, float)
2025-04-16 19:20:36 -04:00
type: Method
source:
id: GetPointInBoxCollider
path: ''
2025-04-19 12:59:07 -04:00
startLine: 4487
2025-04-16 19:20:36 -04:00
assemblies:
- cs.temp.dll
2025-04-16 19:57:54 -04:00
namespace: Player
2025-04-17 18:32:27 -04:00
summary: "\nGets a point on the BoxCollider2D based on horizontal and vertical multipliers.\n"
example: []
2025-04-16 19:20:36 -04:00
syntax:
content: public Vector2 GetPointInBoxCollider(BoxCollider2D boxCollider2D, float horizontal, float vertical)
parameters:
- id: boxCollider2D
type: Global.BoxCollider2D
2025-04-17 18:32:27 -04:00
description: The BoxCollider2D to use.
2025-04-16 19:20:36 -04:00
- id: horizontal
type: System.Single
2025-04-17 18:32:27 -04:00
description: Horizontal offset (-1 for left, 1 for right, 0 for center).
2025-04-16 19:20:36 -04:00
- id: vertical
type: System.Single
2025-04-17 18:32:27 -04:00
description: Vertical offset (-1 for bottom, 1 for top, 0 for center).
2025-04-16 19:20:36 -04:00
return:
type: Global.Vector2
2025-04-17 18:32:27 -04:00
description: The calculated point in world space.
2025-04-16 19:20:36 -04:00
content.vb: Public Function GetPointInBoxCollider(boxCollider2D As BoxCollider2D, horizontal As Single, vertical As Single) As Vector2
2025-04-16 19:57:54 -04:00
overload: Player.PlayerMovement.GetPointInBoxCollider*
2025-04-16 19:20:36 -04:00
nameWithType.vb: PlayerMovement.GetPointInBoxCollider(BoxCollider2D, Single, Single)
2025-04-16 19:57:54 -04:00
fullName.vb: Player.PlayerMovement.GetPointInBoxCollider(BoxCollider2D, Single, Single)
2025-04-16 19:20:36 -04:00
name.vb: GetPointInBoxCollider(BoxCollider2D, Single, Single)
2025-04-16 19:57:54 -04:00
- uid: Player.PlayerMovement.StopVelocity
commentId: M:Player.PlayerMovement.StopVelocity
2025-04-16 19:20:36 -04:00
id: StopVelocity
2025-04-16 19:57:54 -04:00
parent: Player.PlayerMovement
2025-04-16 19:20:36 -04:00
langs:
- csharp
- vb
name: StopVelocity()
nameWithType: PlayerMovement.StopVelocity()
2025-04-16 19:57:54 -04:00
fullName: Player.PlayerMovement.StopVelocity()
2025-04-16 19:20:36 -04:00
type: Method
source:
id: StopVelocity
path: ''
2025-04-19 12:59:07 -04:00
startLine: 4499
2025-04-16 19:20:36 -04:00
assemblies:
- cs.temp.dll
2025-04-16 19:57:54 -04:00
namespace: Player
2025-04-17 18:32:27 -04:00
summary: "\nStops the player's velocity if grounded, removing inertia.\n"
example: []
2025-04-16 19:20:36 -04:00
syntax:
content: public void StopVelocity()
content.vb: Public Sub StopVelocity()
2025-04-16 19:57:54 -04:00
overload: Player.PlayerMovement.StopVelocity*
2025-04-16 19:20:36 -04:00
references:
2025-04-16 19:57:54 -04:00
- uid: Player
commentId: N:Player
name: Player
nameWithType: Player
fullName: Player
2025-04-16 19:20:36 -04:00
- uid: System.Object
commentId: T:System.Object
parent: System
isExternal: true
name: object
nameWithType: object
fullName: object
nameWithType.vb: Object
fullName.vb: Object
name.vb: Object
- uid: System
commentId: N:System
isExternal: true
name: System
nameWithType: System
fullName: System
- uid: Global.LayerMask
commentId: '!:Global.LayerMask'
isExternal: true
name: LayerMask
nameWithType: LayerMask
fullName: LayerMask
- uid: Global.TextMeshProUGUI
isExternal: true
name: TextMeshProUGUI
nameWithType: TextMeshProUGUI
fullName: TextMeshProUGUI
- uid: System.Single
commentId: T:System.Single
parent: System
isExternal: true
name: float
nameWithType: float
fullName: float
nameWithType.vb: Single
fullName.vb: Single
name.vb: Single
2025-04-16 19:57:54 -04:00
- uid: Player.PlayerMovement.IsBasicallyGrounded*
commentId: Overload:Player.PlayerMovement.IsBasicallyGrounded
2025-04-16 19:20:36 -04:00
name: IsBasicallyGrounded
nameWithType: PlayerMovement.IsBasicallyGrounded
2025-04-16 19:57:54 -04:00
fullName: Player.PlayerMovement.IsBasicallyGrounded
2025-04-16 19:20:36 -04:00
- uid: System.Boolean
commentId: T:System.Boolean
parent: System
isExternal: true
name: bool
nameWithType: bool
fullName: bool
nameWithType.vb: Boolean
fullName.vb: Boolean
name.vb: Boolean
2025-04-16 19:57:54 -04:00
- uid: Player.PlayerMovement.IsPhysicallyGrounded*
commentId: Overload:Player.PlayerMovement.IsPhysicallyGrounded
2025-04-16 19:20:36 -04:00
name: IsPhysicallyGrounded
nameWithType: PlayerMovement.IsPhysicallyGrounded
2025-04-16 19:57:54 -04:00
fullName: Player.PlayerMovement.IsPhysicallyGrounded
- uid: Player.PlayerMovement.GetPointInBoxCollider*
commentId: Overload:Player.PlayerMovement.GetPointInBoxCollider
2025-04-16 19:20:36 -04:00
name: GetPointInBoxCollider
nameWithType: PlayerMovement.GetPointInBoxCollider
2025-04-16 19:57:54 -04:00
fullName: Player.PlayerMovement.GetPointInBoxCollider
2025-04-16 19:20:36 -04:00
- uid: Global.BoxCollider2D
commentId: '!:Global.BoxCollider2D'
isExternal: true
name: BoxCollider2D
nameWithType: BoxCollider2D
fullName: BoxCollider2D
- uid: Global.Vector2
isExternal: true
name: Vector2
nameWithType: Vector2
fullName: Vector2
2025-04-16 19:57:54 -04:00
- uid: Player.PlayerMovement.StopVelocity*
commentId: Overload:Player.PlayerMovement.StopVelocity
2025-04-16 19:20:36 -04:00
name: StopVelocity
nameWithType: PlayerMovement.StopVelocity
2025-04-16 19:57:54 -04:00
fullName: Player.PlayerMovement.StopVelocity