Fuat Yüksel

fuat

About Me

業界:
Film/TV

Connect

LOCATION
Munich, Germany
ウェブサイト

Houdini Engine

Availability

Not Specified

Recent Forum Posts

VEX: choose between operators (+ - * /) in the interface 2025年10月30日12:54

@olivierth:
To add to Tomas‘ answer:
The functions that you use and know in vex are all predefined functions (by SideFX devs).
But you can create your own user-defined function if you need one.

The user defined function needs a type (float, vector, void etc) and arguments (as „inputs“), similar to any function you know from VEX already. And will output a result of the defined type.

Also, you can overload functions (the multiple „versions“ some VEX functions have in the documentation) to output a different data type.

In your example above, this exact function you need is not available in VEX, therefore you create your „own version“ of it. Hence making it available for reuse.

Hope this helps

Vellum position 2022年8月29日14:40

You could dynamically create constraints (attach) once they hit the big sphere

How to check if piece is inside box bounds VEX 2022年8月27日17:26

you can also use the windingNumber SOP to check if points are inside a geometry.
since packed geo is just "points" representing transforms of your pieces (plus collision hulls and a few other attributes and properties attached to them for RBD sims), you can then group those points (based on their winding number) and in DOPs simply apply your desired force to that group only.

hope this helps