• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

physics engine bug

Maa2007

Member
this is the first time I'm using physics engine, however i think i have a bug or something here
i followed an online tutorial and everything worked right for me

i copied the same thing into my game, but for some reason when i activate the physics world
physics_world_create(1/10)

all moving objects in my room stop moving and stay stationary,
i have snow objects, and moving environment and steam, all of them stopped moving on x and y,

also my physics objects i put in the level are also not reacting and stay stationary
 
How are you moving the objects? Using the standard x and y values won't work, you need to use forces or (not recommended for most situations) manually update the position using phy_position_x and phy_position_y
 

Maa2007

Member
How are you moving the objects? Using the standard x and y values won't work, you need to use forces or (not recommended for most situations) manually update the position using phy_position_x and phy_position_y
other objects in the level are not using physics, (use physics check box is not checked in their properties ) so why should i use phy_position_x and phy_position_y ?
 
Top