Skip to content

Part_type_orientation

hpgDesigns edited this page Aug 8, 2021 · 1 revision

Description

Sets the orientation angle properties for the given particle type.

Parameters

Parameter Data Type Description
ind integer index of the particle type
min double minimum direction in counter-clockwise degrees, default is 0
max double maximum direction in counter-clockwise degrees, default is 0
incr double relative direction change each step, default is 0
wiggle double wiggling of the direction, default is 0
relative boolean whether or not the angle is relative or absolute to the current direction of motion, default is true

Return Values

void: This function does not return anything.

Example Call

// demonstrates setting the orientation of a particle type
part_type_direction(type, 0, 360, -5, 0, true);

NOTOC

This is number 1

Clone this wiki locally