physics_particle_group_get_ang_vel

Get the angular velocity of a whole group of particles.

Syntax:

physics_particle_group_get_ang_vel(group)


Argument Description
group The particle group to get.


Returns: Real


Description

With this function you can retrieve the angular velocity of a group of particles. The group value is that which was returned when you created the group of particles using the function physics_particle_group_end, and the function will return a value which is the combined value of the currently set flags.


Example:

ang_v = physics_particle_group_get_ang_vel(group1);

The above code will get the angular velocity of the particle group indexed in the variable "group1" and store it in a variable.


Back: Soft Body Particles
Next: physics_particle_group_get_x
© Copyright YoYo Games Ltd. 2018 All Rights Reserved