Making a collider filled in

General discussion about LÖVE, Lua, game development, puns, and unicorns.
Post Reply
IamAcand
Prole
Posts: 1
Joined: Fri Mar 11, 2022 5:46 pm

Making a collider filled in

Post by IamAcand »

I have a collider as the player in my game and I wanted to make it filled in. I tried just drawing a rectangle at the position but when I control the player it sometimes falls slightly behind the collider. So how do I do it?
MrFariator
Party member
Posts: 574
Joined: Wed Oct 05, 2016 11:53 am

Re: Making a collider filled in

Post by MrFariator »

It should be a simple matter of just drawing a rectangle at the collider's current position, yes. Can you post your code?
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests