ThirdPersonControllerComponent constructor

ThirdPersonControllerComponent({
  1. double walkSpeed = 4.5,
  2. double runMultiplier = 1.8,
  3. double turnSpeed = 12.0,
  4. double jumpVelocity = 6.5,
  5. double gravity = 18.0,
  6. double maxSlopeAngleDegrees = 45.0,
  7. double coyoteTimeWindow = 0.12,
  8. double jumpBufferWindow = 0.15,
  9. double landingJumpDelay = 0.20,
  10. int groundLayerMask = 0xFFFFFFFF,
  11. double? groundPlaneHeight,
  12. double footOffset = 0.0,
  13. double obstacleRadius = 0.85,
  14. double obstacleHeight = 1.8,
})

Implementation

ThirdPersonControllerComponent({
  this.walkSpeed = 4.5,
  this.runMultiplier = 1.8,
  this.turnSpeed = 12.0,
  this.jumpVelocity = 6.5,
  this.gravity = 18.0,
  this.maxSlopeAngleDegrees = 45.0,
  this.coyoteTimeWindow = 0.12,
  this.jumpBufferWindow = 0.15,
  this.landingJumpDelay = 0.20,
  this.groundLayerMask = 0xFFFFFFFF,
  this.groundPlaneHeight,
  this.footOffset = 0.0,
  this.obstacleRadius = 0.85,
  this.obstacleHeight = 1.8,
});