Log inGet started
World

Pathwise: Navigation and Crowd Agents Kit

README.md

pushKit.Pushable

Lets players push a dynamic physics body (a crate, a box, a cart) by walking into it. Attach it to an entity with a BoxCollider and a dynamic Physics body (PK.addPushable adds both when missing). On the peer in charge of the body (its owner, or the room host while nobody owns it), every player body (anything with the engine's CharacterController) and every entity added with PK.addPusher that presses on one side and walks into it sets the body's velocity along that side, so walls still stop it and every player sees the same crate.

Fields: reach (0.75 m), strength (0.9 of the pusher's speed), maxSpeed (6 m/s), axis (both, x or z), pushEnabled (true), pushing (read-only).