debris_flow_add_object(flow_handle, obj_name, min_speed, max_speed, max_ang_velocity[, set_velocity[, ignore_gravity]])

Parameters:
flow_handle (int) handle of the debris flow to add the object to
obj_name (string) name of the object to be added
min_speed (float) the minimum speed to set for the object when it gets recycled by the flow
max_speed (float) the maximum speed to set for the object when it gets recycled by the flow
max_ang_velocity (float) the maximum angular velocity for the object when it gets recycled by the flow (around the Y-axis)
set_velocity (bool, optional) TRUE if the object's velocity should be set by the debris flow, FALSE if the object's current velocity should be used
ignore_gravity (bool, optional) TRUE if the object should ignore gravity, FALSE otherwise (only used if set_velocity is set to TRUE)
 
Returns:
none

Description:
Add an object to be managed by the active debris flow
 

back to indexSR3 Script Action Documentation
Last updated: Tue, 09 Aug 2011 11:32:15