T
theraje3
Guest
Hi, my error comes when I have set an obj_floor as my ground and walls to collide with. And then I have an obj_tranparentwall that looks exacly the same than the floor but it has no collision with the player.
in my collision sistem I have this:
and obj_transparentwall is not child of obj_floor so in theory it shouldt stop the motion. but instead the player move 1 frame and the other dont. so I dont really know why is this "trying to collide".
i find that the error is in that piece of code my modifing it to dodge the obj_transpwall. but that makes more errors so I want to understand why it is trying to collide. thx
in my collision sistem I have this:
Code:
if place_meeting(x + hsp,y,obj_floor) {
while !place_meeting(x + sign(hsp),y,obj_floor){
x += sign(hsp)
}
hsp = 0
}
x += hsp
i find that the error is in that piece of code my modifing it to dodge the obj_transpwall. but that makes more errors so I want to understand why it is trying to collide. thx