how to use pop wrangle?

   3287   2   1
User Avatar
Member
13 posts
Joined: May 2017
Offline
Hello everyone!

I use pop wrangle in houdini 16.

I'd like to control impulse activation in pop wrangle.

Impulse activation's parameter name is impulseactiveate. so i wrote @impulseactiveate = 1; but i didn't work.

Could you help me using this?
User Avatar
Member
2537 posts
Joined: June 2008
Offline
Try dropping the @ symbol. When you use that symbol you are creating an attribute on the points. If you are running within a VEX snippet, you can assign to local values directly just by referencing that name.

For instance, within a PopSeekSteer you can simply assign a vector to goal.
goal = set(0,1,0);
Edited by Enivob - June 29, 2017 09:19:23
Using Houdini Indie 20.0
Windows 11 64GB Ryzen 16 core.
nVidia 3050RTX 8BG RAM.
User Avatar
Member
7772 posts
Joined: Sept. 2011
Online
impulseactivate is all or nothing, you cannot control it with an attribute in that way.

It is a switch that changes how the number of points born each frame is computed, and thus cannot vary per point on your input.

You can drive it with an expression, even one referencing an attribute value using a point/prim/detail, but can still only completely enable or disable impulse sourcing.
  • Quick Links