Original Post
I''m trying to make a particle engine as a little challenge for myself but i''ve come across something that I can''t quite figure out.
What I want to do is make a ''deflector'' (an invisible plane) that well, deflects particles when they come into contact with it.
My problem is that I can''t figure out how to do this without hard coding it.
eg. As a little test I said if the particles Y position is less than 0 then sit still. This simulates an infinite floor...
Could anyone point me in the direction of a tutorial or theory or *anything* that would help me to be able to create deflectors without hard coding them into the engine?
ie. Load them from a file at startup.