player-physics

Installation
SKILL.md

Player Physics in Decentraland

Apply forces to the player's avatar using the Physics API. All physics operations affect the local player only.

import { Physics } from '@dcl/sdk/ecs'
import { Vector3 } from '@dcl/sdk/math'

Impulse (One-Shot Push)

Apply a single instantaneous force — useful for launch pads, jumps, and explosions.

// Launch straight up
Physics.applyImpulseToPlayer(Vector3.create(0, 50, 0))

// Pass direction + magnitude separately (direction is normalized automatically)
Physics.applyImpulseToPlayer(Vector3.create(0, 1, 0), 50)
Related skills

More from decentraland/sdk-skills

Installs
3
GitHub Stars
3
First Seen
Apr 13, 2026