User Tag List

Page 2 of 2 FirstFirst 1 2
Results 11 to 12 of 12

Thread: Is this valid limiting condition for an event? Individualizing instances.

  1. #11
    No Products Registered

    Join Date
    Aug 2006
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by schrodinger View Post
    Oh really?? This is a quite interesting discovery!
    Will test it next time I got chance!

    As a side note - you coud very frequently avoid foreach loops, maybe by doing some little extra step,
    but I've been testing this different times, and noticed there was no appreciable difference in performance

    ie. between using, say:

    flag 0 on
    >>> start loop foreach

    on each one of
    >>> do this

    and:

    flag 0 on
    >> do this

    I've tried it in more complex situations, and also with P3D, which does a quite intensive job with many calculations,
    I spent some hour rewriting the code and redoing all the pipeline of 3d object deformations without foreach...
    there was not the smallest difference in framerate :|
    You can avoid the calculations by creating an invisible circle around each at the appropriate radius and detect collisions of the invisible circles - no more calculations require.

  2. #12
    No Products Registered

    Join Date
    Aug 2006
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Mazeman

    You can avoid the calculations by creating an invisible circle around each at the appropriate radius and detect collisions of the invisible circles - no more calculations required.

Page 2 of 2 FirstFirst 1 2

Similar Threads

  1. Replies: 1
    Last Post: 4th April 2016, 01:25 PM
  2. Bad Event of the condition
    By ASD in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 25th February 2013, 10:26 AM
  3. Checking that all instances meet a condition
    By Keith in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 22nd August 2011, 01:07 PM
  4. Condition if any instances of object at same frame
    By Keith in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 13th August 2011, 02:14 PM
  5. Can two or more fastloop condition on same event?
    By ASD in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 9th February 2010, 11:57 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •