• 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!

Need help with game maker phyisics

D

DNgames

Guest
Im making a game with puzzles but. This things keeps happening player is colliding with object at first but then stops for some reason.
das.png
That red litle square is for collisions but after one time toching with blue block it stops colliding with it.
di.png
Like that player can stand in that block.

Can someone help me please.
 

O.Stogden

Member
Are any of your physics objects set as "sensors"?

Sensors don't have a collision, and the collision events for them are only triggered once, when the collision first happens. They would also trigger for 1 step again, if you left the object alone and came back to it.
 
D

DNgames

Guest
Are any of your physics objects set as "sensors"?

Sensors don't have a collision, and the collision events for them are only triggered once, when the collision first happens. They would also trigger for 1 step again, if you left the object alone and came back to it.
It is not set as sensor. But still its not working.

It still wont work.
 
Last edited by a moderator:

Nocturne

Friendly Tyrant
Forum Staff
Admin
Why are you using physics? Physics is meant for continuous simulation of physical interactions and this doesn't seem like it's a good fit for the physics engine at all. That said, show us the code for you objects and tell us how you're dealing with movement and collisions.
 
D

DNgames

Guest
Why are you using physics? Physics is meant for continuous simulation of physical interactions and this doesn't seem like it's a good fit for the physics engine at all. That said, show us the code for you objects and tell us how you're dealing with movement and collisions.
Im using physics because i dont know how to make object push another object.
 
Top