{"author_link":"\/users\/tiseno","author_name":"Tiseno","author_uid":"tiseno","comments":[],"epoch":1673177079,"event":"LD52","format":"md","ldjam_node_id":319611,"likes":2,"metadata":{"p_key":"170559","p_author":"Tiseno","p_authorkey":"1244138","p_urlkey":"399469","p_title":"Moving static objects? (love2d)","p_cat":"LDJam ","p_event":"LD52","p_time":"1673177079","p_likes":"2","p_comments":"0","p_status":"WAYBACK","us_key":"1244138","us_name":"Tiseno","us_username":"tiseno","event_start":"1672963200","event_key":"116","event_name":"Ludum Dare 52"},"node":{"_collation":{"body_sanitizer":"TextUtils::SanitizeHTML via existing importer","event":"LD52","removed_author":false},"_superparent":313060,"_trust":2,"author":244138,"body":"So I have this little thing which is composed of three objects, which are in turn composed of one body, one shape, and one fixture each\n![Screenshot from 2023-01-08 12-20-05.png](\/\/\/raw\/aa9\/b3\/z\/54155.png)\n\nBut sometimes when I resize the window parts of it start moving (actually moving with a velocity) for a short period (1-2 seconds) and totally breaks apart :thinking: \n\n![Screenshot from 2023-01-08 12-20-17.png](\/\/\/raw\/aa9\/b3\/z\/54157.png)\n\nI have found claims that the physics engine should be paused while resizing. And I cannot find callback or something on resize event to pause manually.\n\nAnyone knows why this happens and how to fix it?\n\nEdit: Im stupid, I had some old debug code that moved that particular object when hitting the arrow keys, and the method I used for resizing was Super + Arrow keys :sweat_smile: ","comments":0,"created":"2023-01-08T11:20:20Z","files":[],"files-timestamp":0,"id":319611,"love":2,"love-timestamp":"2023-01-08T11:52:32Z","meta":[],"modified":"2023-01-08T11:52:32Z","name":"Moving static objects? (love2d)","node-timestamp":"2023-01-08T11:28:17Z","parent":316515,"parents":[1,5,9,313060,316515],"path":"\/events\/ludum-dare\/52\/wheat\/moving-static-objects-love2d","published":"2023-01-08T11:24:39Z","scope":"public","slug":"moving-static-objects-love2d","subsubtype":"","subtype":"","type":"post","version":986144},"node_metadata":{"n_key":"319611","n_urlkey":"399469","n_parent":"316515","n_path":"\/events\/ludum-dare\/52\/wheat\/moving-static-objects-love2d","n_slug":"moving-static-objects-love2d","n_type":"post","n_subtype":"","n_subsubtype":"","n_author":"244138","n_created":"1673176820","n_modified":"1673178752","n_version":"986144","n_status":"WAYBACK"},"source_url":"https:\/\/ldjam.com\/events\/ludum-dare\/52\/wheat\/moving-static-objects-love2d","text":"So I have this little thing which is composed of three objects, which are in turn composed of one body, one shape, and one fixture each\n![Screenshot from 2023-01-08 12-20-05.png](\/\/\/raw\/aa9\/b3\/z\/54155.png)\n\nBut sometimes when I resize the window parts of it start moving (actually moving with a velocity) for a short period (1-2 seconds) and totally breaks apart :thinking: \n\n![Screenshot from 2023-01-08 12-20-17.png](\/\/\/raw\/aa9\/b3\/z\/54157.png)\n\nI have found claims that the physics engine should be paused while resizing. And I cannot find callback or something on resize event to pause manually.\n\nAnyone knows why this happens and how to fix it?\n\nEdit: Im stupid, I had some old debug code that moved that particular object when hitting the arrow keys, and the method I used for resizing was Super + Arrow keys :sweat_smile: ","title":"Moving static objects? (love2d)","wayback_source":[]}