Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Magical Box particles along spline
(08-20-2013, 07:46 PM)lukasspro777 Wrote: This is pretty amazing, I didn't know MagicBox can be modified this way, will definitely look into this more during the next few days. Big Grin
Magical Box was designed from the ground up to be as modular and extendable as possible. And of course you can roll your own custom emitters as easy as parameters.

Quote:I ran into just one problem while trying to use this on my scene, and it's the following. I use a simple rotation script which makes the ship tilt to one side, then back (simulation of a ballast system), however, the particles don't seem to follow the curvy spline as it rotates together with the object. It worked fine when I was using the Position by Curvy Spline default parameter included with MagicBox, but with this Custom one, I guess it does not recalculate the path as the spline moves.
Any simple fix for this or?
This was intentional because it's the fastest method. Curvy itself interpolates world coordinates, Magical Box uses ParticleSpace coordinates (i.e. the local space of the MBParticleSystem object). So you'll just have to use default TransformPoint/InverseTransformPoint to translate coordinates...OR you replace PT.Position with PT.WorldPosition, that will do exactly the same Big Grin


Messages In This Thread

Possibly Related Threads…
Thread Author Replies Views Last Post
  Curvy Line Renderer for UI Spline? gekido 3 6 04-04-2024, 12:56 PM
Last Post: _Aka_
  Get position of all control points for a spline gekido 1 6 03-28-2024, 10:08 PM
Last Post: _Aka_
Bug Changing spline connection in inspector causes splines to revert to defaults lacota 3 6 03-18-2024, 07:55 PM
Last Post: _Aka_
  GO can't fit end of the spline GameDeveloperek4123 3 14 03-04-2024, 11:06 AM
Last Post: _Aka_

Forum Jump: