MidDrift89 is your project Free Movement, or Grid move?
Help with interacting with Objects
- Edited
Free movement. Is that my issue?
And thank you for all your tutorials btw, really helpful.
Edit: I should probably add, if I make a 6x6x6 model in a 6x6x6 grid (no empty space) then I can interact fine with both free move and grid move. But for some reason the empty space is causing me issues and I'm not sure if I have done something to cause this - as I'm assuming this is not the intended way it should work.
In free movement, from what I remember I tested, the interactable object needs to be present in the middle third of the player character doing the interaction.
So if your player model is six voxel high, it doesn't register an interactable object in front of it, if it is 2 voxels or lower, or 4 voxels and higher. Not sure why, just know it does. Probably a thing that will be changed at some point.
MidDrift89 In case it's helpful to troubleshoot the issue, you can enable a collision debug mode via Editor Settings -> Quick Play -> Collision Debugging. The blue lines show collision boxes, and there will be a yellow line going outward/downward from the player. This is used to check for interaction and will turn red when colliding with something.
- Edited
MidDrift89 No problem! If you haven't tried this yet, you could create custom collision shapes in the Voxel Editor that are larger than the models, and they should be easier to interact with in-game.
Oh! I tried custom collision, but I was making the collision smaller, haha.
MidDrift89 Awesome, that's great to hear!