Results 1 to 3 of 3

Thread: Mystery bug, related to physics and engine reset.

  1. #1
    Knight
    Join Date
    Mar 2010
    Posts
    81

    Default Mystery bug, related to physics and engine reset.

    I made my ball have a extremely low density...

    And my bricks I left on the default density (that is high).

    The ball bounce on them perfectly, not moving them (unless the ball reach a extreme high speed, then it may nudge them 1 pixel... but this happened only once so far, and after I manually set the ball speed to something absurd...)

    But if I reset the engine (control+shift+r), the objects act like if they had the same density, and when the ball hit a brick, the entire wall of bricks move around and spread, like a snooker ball hitting the starting triangle of balls...

    But if I close it, and open again, it runs fine again...

  2. #2
    Administrator Seth's Avatar
    Join Date
    Jul 2002
    Location
    Japan
    Posts
    5,377

    Default

    Hmm, can you post a novashell world example project showing this bug?
    Seth A. Robinson
    Robinson Technologies

  3. #3
    Knight
    Join Date
    Mar 2010
    Posts
    81

    Default

    I figured that the bug is not exactly that. I saw it happen after initial fire-ups too, and managed to prevent it after resets...

    I discovered that it is triggered when I do that exact sequence of steps:

    Fire-up or reset.
    Press F1.
    Open my level.
    Select the ball, and set its initial speed.
    Press F1 again.

    The ball collide and all the blocks go flying.

    If I do that sequence of steps instead, the bug does not happen:
    Fire-up or reset.
    Press F1.
    Open my level.
    Press F1.
    Press F1.
    Select the ball, and set its initial speed.
    Press F1 and see the game working fine.


    So, I reached the conclusion, that the "density" of objects, is set only when the simulation is running, and for some reason, if I modify a object (it is not the blocks that are heavier, is the ball that I set to be lighter), the density setting does not happen anymore.


    Finally: You can repeat the steps with my project, to move the ball, click on it, open the console and type in "JumpStart()" this will set the ball to move upward. Also, usually when the bug happen, the ball refuse to move, so you have to do "JumpStart()" on it again.
    Attached Files Attached Files

Similar Threads

  1. ctrl + shift + r (reset engine) = Crash to desktop
    By rikkib in forum Novashell Game Creation System
    Replies: 2
    Last Post: 12-12-2009, 01:51 AM
  2. Adventure game related
    By Uhfgood in forum Novashell Game Creation System
    Replies: 4
    Last Post: 09-28-2009, 04:05 PM
  3. SoundBuffer related memory problem
    By ehd19777 in forum Official ClanLib SDK Forums
    Replies: 4
    Last Post: 08-27-2008, 06:38 PM
  4. BBSFiles.com Reset
    By in forum Funeral Quest
    Replies: 0
    Last Post: 09-10-2004, 06:50 PM
  5. My crappy day was reset when I logged in again...
    By Lord.Gandalf in forum Funeral Quest
    Replies: 0
    Last Post: 01-05-2003, 09:42 AM

Bookmarks

Bookmarks

Posting Permissions

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