rhodonite
Preparing search index...
default
CharacterControllerStrategy
Interface CharacterControllerStrategy
interface
CharacterControllerStrategy
{
computedMovement
:
IVector3
;
enabled
:
boolean
;
groundContact
:
CharacterGroundContact
|
undefined
;
isGrounded
:
boolean
;
isRecovering
:
boolean
;
motionState
:
CharacterMotionState
;
destroy
()
:
void
;
requestJump
()
:
void
;
setDesiredHorizontalVelocity
(
velocity
:
IVector3
)
:
void
;
setup
(
entity
:
ISceneGraphEntity
,
shape
:
ShapeInstance
,
options
?:
CharacterControllerOptions
,
)
:
void
;
teleport
(
position
:
IVector3
)
:
void
;
}
Implemented by
RapierCharacterControllerStrategy
Index
Properties
computed
Movement
enabled
ground
Contact
is
Grounded
is
Recovering
motion
State
Methods
destroy
request
Jump
set
Desired
Horizontal
Velocity
setup
teleport
Properties
Readonly
computed
Movement
computedMovement
:
IVector3
enabled
enabled
:
boolean
Readonly
ground
Contact
groundContact
:
CharacterGroundContact
|
undefined
Readonly
is
Grounded
isGrounded
:
boolean
Readonly
is
Recovering
isRecovering
:
boolean
Readonly
motion
State
motionState
:
CharacterMotionState
Methods
destroy
destroy
()
:
void
Returns
void
request
Jump
requestJump
()
:
void
Returns
void
set
Desired
Horizontal
Velocity
setDesiredHorizontalVelocity
(
velocity
:
IVector3
)
:
void
Parameters
velocity
:
IVector3
Returns
void
setup
setup
(
entity
:
ISceneGraphEntity
,
shape
:
ShapeInstance
,
options
?:
CharacterControllerOptions
,
)
:
void
Parameters
entity
:
ISceneGraphEntity
shape
:
ShapeInstance
Optional
options
:
CharacterControllerOptions
Returns
void
teleport
teleport
(
position
:
IVector3
)
:
void
Parameters
position
:
IVector3
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
computed
Movement
enabled
ground
Contact
is
Grounded
is
Recovering
motion
State
Methods
destroy
request
Jump
set
Desired
Horizontal
Velocity
setup
teleport
rhodonite
Loading...