Skip to main content

59 docs tagged with "Locomotion"

View All Tags

Locomotion Request Clamber

Request that the local player perform a clamber or a mantle. Custom Locomotion must be enabled in the active Player Definition Board.

Locomotion Request Fly Start

This chip requires beta content to be enabled in the room. You can access the setting in "This Room -> Settings".

Locomotion Request Fly Stop

This chip requires beta content to be enabled in the room. You can access the setting in "This Room -> Settings".

Locomotion Request Wall Run

Request that the local player begin to wall run. Not affected by CanWallRun directly. If you want that property to impact this request you should check it yourself.

Locomotion Request Wall Run Stop

Request that the local player stop wall running. Not affected by CanWallRun directly. If you want that property to impact this request you should check it yourself.

Player Get Is Grounded

Returns whether the given player is grounded, a.k.a. not jumping, flying, wall-running, clambering, or falling. Also returns the time (in seconds) since they were last grounded, or 0 if currently grounded. Surface Object returns the Room Object that the player is standing on if they are grounded, or Invalid Object if the player is not grounded or standing on a non-Rec Room Object. Surface Normal returns the normal of the surface if the player is grounded and (0, 1, 0) if they're not.

Player Get Normalized Steering Speed

(DEPRECATED: Use PlayerGetSteeringSpeed / GetWalkSpeed) Returns the steering speed requested by the player, squared, and normalized by the square of the default walk speed.

Player Get Steering Speed

Returns the steering speed requested by the player. This value represents how fast a player is wanting to move in world units.

Player Set Crouch Input Enabled

Sets whether crouch input is enabled for a given player. Setting this to false will remove crouch button prompts / UI elements on supported platforms.

Player Set Force VR Walk

Forces the given player to use walk rather than teleport mode if they are playing in VR. This is useful when you need access to their walk inputs which won't fire if they are in teleport mode. You should consider adding a warning to your room so teleport players are aware that you're going to change their movement mode.

Player Set Jump Input Enabled

Sets whether jump input is enabled for a given player. Setting this to false will remove jump button prompts / UI elements on supported platforms.

Player Set Sprint Input Enabled

Sets whether sprint input is enabled for a given player. Setting this to false will remove sprint button prompts / UI elements on supported platforms.

Player Set Steering Input Enabled

Sets whether walk input is enabled for a given player. Setting this to false will stop Steering Input events from firing, and will remove walk-related button prompts / UI elements on supported platforms.