Link Search Menu Expand Document

Impulse

Apply an impulse to an object to set it in motion. This happens in conjunction with an event. Requires click-listener and physics.

Impulse Attributes

Attribute Type Default Description Required
force vector3 {'x': 1, 'y': 1, 'z': 1} Impulse vector. No
on string; One of: ['mousedown', 'mouseup'] '' Event to listen ‘on’. No
position vector3 {'x': 1, 'y': 1, 'z': 1} World position. No