Horde3D
http://www.horde3d.org/forums/

Custom update function for particle system
http://www.horde3d.org/forums/viewtopic.php?f=1&t=1130
Page 1 of 1

Author:  Codepoet [ 24.03.2010, 00:11 ]
Post subject:  Custom update function for particle system

Warning: This is a hack - use with caution. Just sharing :)
(I have no intention of adding this to the core of Horde3D)


With the attached patch you can use a custom function to update the particles of an emitter node. Just define a normal C function, and pass it to h3dSetUpdateFunction for that node. Attach the particle system to your physics layer, use it for displaying billboards... Have fun!

It even works together with Python ctypes, albeit slow.

Attachments:
File comment: Patch: custom update function for particles
ps_hack.patch [10.77 KiB]
Downloaded 773 times

Page 1 of 1 All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/