Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void simulationStart()
- {
- }
- public void simulationStep()
- {
- int move = 10; // <-- Change this value
- for (int i = 0; i < eventParticleCount; i++)
- {
- int sInx = tf.GetSimIndex(i);
- float eventAge = tf.GetEventAge(sInx);
- if (eventAge == 0)
- {
- Matrix3 pos = tf.GetTM(sInx);
- pos.row4 = pos.row4+pos.row2*move;
- tf.SetTM(sInx,pos);
- //Print(pos.row4);
- }
- }
- }
- public void simulationStepThreaded(int startInx, int endInx, int threadInx)
- {
- }
- public void postSimulationStep()
- {
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement