Pixi GSAP Inertia
Throw-and-glide motion with resistance, bounds, and snapping.
The Pixi GSAP Inertia node applies inertial motion to a display object using GSAP's InertiaPlugin-like behavior with velocity, resistance, bounds, and optional snapping.
Target & Control
| Data | Description |
|---|
| Target | Pixi DisplayObject |
| Signal | Description |
|---|
| Auto Start | Start when ready |
| Start | Start tween |
| Restart | Restart tween |
| Stop | Stop tween |
| Pause | Pause tween |
| Resume | Resume tween |
| Apply Now | Start immediately |
Property Mapping
| Data | Description |
|---|
| X Prop | Property for X (default: 'x') |
| Y Prop | Property for Y (default: 'y') |
| Rotation Prop | Property for rotation (default: 'rotation') |
Velocity
| Data | Description |
|---|
| Use Current Velocity | Derive initial velocity from current motion (default: false) |
| VX | Initial X velocity |
| VY | Initial Y velocity |
| Rotation Velocity | Initial rotation velocity |
Resistance
| Data | Description |
|---|
| Resistance | Linear resistance (default: 200) |
| Rotation Resistance | Rotational resistance (default: 300) |
Bounds
| Data | Description |
|---|
| Min X / Max X | Horizontal bounds |
| Min Y / Max Y | Vertical bounds |
| Min Rotation / Max Rotation | Rotation bounds |
Snap
| Data | Description |
|---|
| Snap Step X | Snap spacing on X |
| Snap Step Y | Snap spacing on Y |
| Snap Rotation Step | Snap spacing for rotation |
Tween
| Data | Description |
|---|
| Duration | Base duration (default: 1.2) |
| Max Duration | Upper cap for duration (default: 2.0) |
| Paused | Start paused (default: false) |
| Overwrite | GSAP overwrite mode (default: 'auto') |
Render
| Data | Description |
|---|
| Request Render On Update | Request render each update (default: true) |
Outputs
| Data | Description |
|---|
| Node Reference | This node reference |
| Is Active | Tween active flag |
| Progress | Normalized progress (0..1) |
Usage
- Provide initial velocities or enable Use Current Velocity, set optional bounds/snap, then Start to throw with inertia.