#Platformer and edges.
1 messages · Page 1 of 1 (latest)
Can you share your player script?
Are you using is_on_floor?
I am, and yeah, let me.
You said the separate Area2D and collision didn't work: What did you do and what did it do?
The on_wall check is always going to use the collision shape of the CharacterBody2D
I don't remember if i kept the code with the other hitbox or not since i went to sleep at 10 am, but i think i see what the problem is.
I think your best bet is going to be a shapecast or raycast for wall grabbing. An Area2D is also an option. Either way, you'll need to put in a little bit of work for wall detection instead of is_on_wall()
Probably not much though
You think Godot Docs should be enough for me to figure out ray casting?
I would think so. Raycasts are on the simpler side as far as godot mechanics go
Feel free to ask another question if not
Yeah, your solution works great!
Thank you!