Godot Tutorial: Raycast and Item Interaction

preview_player
Показать описание
Showing off the raycast item interaction technique used in The Trailing Edge:

This demo incorporates the first person camera rig technique developed by Kids Can Code:
Рекомендации по теме
Комментарии
Автор

You are an absolute god for this tutorial. Been googling for hours to try to find anything pertaining to this kind of system, thankfully raycast and item interact managed to hit on this video. Great explanation, super simple, ty so much <3

birdboys
Автор

Very Good Video! Exactly what I been looking for. Your mic tho... XD

Stretox
Автор

Beautiful tutorial! This is quite close to what I need, but how would I go on adding possibility to stack items in hands. Meaning if I pick-up one log for example, and i want to be able to carry let's say 4 logs. it understands that when my log capacity is <4, it adds another log in hands. Any tip on how to make this happen?

HenriRahm
Автор

thanks for sharing, great guide for raycast usage. One note though Initially your sound quality is great (and voice quality remains good), but a pronounced hiss starts in at about 1:50 then comes in and out (fan noise??). I'm sure you're looking into it. But regardless I was able to get some great pointers from your video.

ExploreGameDev
Автор

Excellent tutorial. Wow, thank you so much. I couldn't find this anywhere. It's exactly what I was looking for.
Quick question please? What if I wanted to set the cube back on the ground like I'm building something? I'd need a way to have the cube sense if it is on the floor right?
I'm still a bit new to Godot, coming from Unreal Engine.

I assume if I wanted to build something from scratch, I'd use your same method on a spawned in object to grab it and move it. Prob. have to apply some sort of transparent shader, yes? Wow, I'm almost there!!!!

GaryParkin
Автор

17:14 at the end of this part the console keeps saying "The identifier 'obj_col' isn't declared in the current scope." :(

nickbarbosa
Автор

can i have various raycasts for different actions? or should I make every interaction in just one raycast?

Shuabvv
Автор

whenever i try to hold the object. the player along with the object start moving. idk why this is happening.

prerit
Автор

Hello i need your help whenever i try to unheld it it just crashes there doesnt seem to be any error but it points at the old-pos.origin line can you help me with it all i get in the debugger is Invalid get index 'origin' (on base: 'NIL')

ruumroom.