part_attractor_position - hpgDesigns/hpgdesigns-dev.io GitHub Wiki

Description

Sets the position of the given particle attractor in the given particle system.

Parameters

Parameter Data Type Description
sys integer index of the particle system
ind integer index of the particle attractor
x double x coordinate of the position
y double y coordinate of the position

Return Values

void: This function does not return anything.

Example Call

// demonstrates setting the position of a particle attractor
part_attractor_position(sys, attr, x, y);

NOTOC

⚠️ **GitHub.com Fallback** ⚠️