Raycast not accurate at all

I’m using this video nodes https://www.youtube.com/watch?v=8ymSPfgnY4Y only I’m using the “raycast object” because I want it on exactly on the cube. But when I start it works kinda… I can click the cube but not the left or top of it like its should work but the left or button still makes it click…

here’s a pic of my nodes. I did have two cubes but I strip one of its nodes till I get one working correctly.

1 Like

Maybe it is because the scale is not applied to the cube before the game is started? Try applying scale in Blender before you start the game.

If that also does not work, then I would suggest going for a physics based ray casting using rigid bodies and physics ray casting

1 Like

Sorry I kind of went to unreal I wanna use armory 3d sense I love blender and I would own the game fully but there’s not much tutorials compared to unreal sadly

also i did apply all the changes on the cube before incase