Skip to main content

Report this content

We want the Dreams coMmunity to be a safe, diverse and tolerant place for everyone, no matter their age, gender, race, sexual orientation or otherwise. If you believe this content to contradict these principles, you can file a report for our coMmunity teams to investigate.

Note that misuse of the reporting tool will not be tolerated.

Item being reported:

A forum post by MageMini

So I'm making a 2D game and I made the movement using an emitter and a teleporter and collision isn't a thing so I made it myself.
the basic idea is for example if pressing forward and the trigger zone isn't detecting scenery then increase the X by 0.1. this works just fine but if I set the speed to 0.3 it will ignore collision because in a frame it was behind the wall and the next frame it's inside or maybe passed it.

so I thought I can change the trigger zones based on speed but that didn't sound good, then I thought maybe I can change the movement itself like can I make it move 0.01 ten times instead of 0.1 each frame?

subframe movement might not be a thing in dreams so can you give me another solution?

Oh dear! Your browser is either unsupported or there has been a problem loading the page.