Help Center

Physics Apply Impulse node

Product media placeholder

Replace this area with a screenshot or short walkthrough video during the media sweep.

F367 step 5 v2 โ€” pulse-triggered instantaneous impulse on a body. Same shape as `physicsApplyForce` but applies an instantaneous velocity delta (ฮ”v = impulse/mass) instead of a continuous force across one step. Use for explosions, kicks, projectiles โ€” anything that should change a body's velocity discontinuously.

Type physicsApplyImpulseCategory solversContext sharedDynamic ports noCompound no

Inputs

PortTypeDescription
worldanyWorld
bodyIdfloatBody ID
impulsevec2Impulse (px/s ยท kg)
pointvec2Point (body-local px)
triggerfloatTrigger

Outputs

PortTypeDescription
--No ports declared.

Parameters

ParameterTypeDefaultDescription
paramImpulseXfloat0Used when the `impulse` input port is unwired. Author-convenience static vector โ€” same pattern as `physicsWorld.paramGravity{X,Y}`. step 10
paramImpulseYfloat0Default Impulse Y (px/s ยท kg) step 10
paramPointXfloat0Off-centre application point; (0, 0) = body centre. step 5
paramPointYfloat0Default Point Y (body-local px) step 5

Use cases

  • Ragdoll on hit โ€” state-machine transition fires `physicsApplyImpulse.trigger`; impulse vector aimed away from the hit point. The character rags down naturally.
  • Click-to-launch โ€” `clickStateDispatcher.pulse` โ†’ `trigger`; impulse upward. Single click yields a one-shot launch.
  • Collision-driven scatter โ€” `physicsCollisionPulse.pulse` (v2 collision events) โ†’ `trigger`; impulse derived from the contact normal.

Envelope

Use physicsApplyImpulse as the node type inside a graph node envelope. Add id, optional params, optional connections, and optional activeWhen based on the guide context.

Generated source

Registry faster-motion-docs/node-registry.jsonCategory page /help/faster-motion/faster-motion-node-category-solvers/

Was this guide helpful?