import { ActionBehavior, ContextManager, ActionBehaviorConstructorProps, Component, Observable } from '@zcomponent/core'; /** * Applies an impulse to a physics body at a given location. * * If the location is not specified, the impulse will be applied at the world position of the rigidbody. * @zicon open_with * @zbehavior * @zgroup Physics Actions */ export declare class ApplyImpulse extends ActionBehavior { protected zcomponent: import("@zcomponent/core").ZComponent; /** * The rigidbody target. * @zprop * @zvalues behaviorids three/Object3D/Physics/RigidBody */ rigidbody: string; /** * The impulse vector to apply. * @zprop * @zgroup Physics * @zgrouppriority 20 * @zdefault [0, 5000, 0] */ impulse: Observable; /** * The location in world space to apply the impulse. * * If unspecified, the force will be applied at the world position of the rigidbody. * @zprop * @zgroup Physics * @zgrouppriority 20 * @zdefault [0, 0, 0] */ location: Observable<[number, number, number] | undefined, never>; constructor(contextManager: ContextManager, instance: Component, props: ActionBehaviorConstructorProps); /** @zprop */ perform: () => void; /** @zui */ preview(): void; }