Make it so you can make it so when you hold items they can collide with things like walls, so you can’t have your item clip through walls but it stops the player from moving forward instead, so it has it’s own hitbox pretty much
I mean you can do that.
1.) Go to your selected item. Let’s use that.
2.) Go to
Body types
, and select selected
.3.) You can select which one it collides with either these 5.
I’m misunderstanding here or no?
I tried that and it doesn’t work for me. (My game is T2 btw)
Also it doesn’t block you from moving into walls I don’t believe.
It does a little bit.
Edit: 4 hours later bruh.
It doesn’t work ;-;
It works, there’s no way it doesn’t work. Unless–
Edit:
It does block you from moving into walls, it only works if that game is old with the old items on it. For example a katana. I forked it from a old braains clone. But whenever you rotate, your item that you holding it just stays static, it doesn’t move. I’m talking about the sprite whenever you rotate your unit.
If you try to wiggle that is.
did u switch the entity type to dynamic???
if it still doesn’t work do the apply force if touch touching thing
If you don’t want the item to go into the wall, you must make it collide with Walls.
And if you think your character moves weird when holding the item, set unit anchor Y to a bigger value. The item may be colliding with its owner at that time.
I did make the item collide with walls. Only works a little bit. Probably in older modd.io games. I tried that.
I adjusted the item’s anchor to a certain number so that it doesn’t collides with the unit. If it did, then the unit will get push back.