Unity me trolea y vuelve invencibles a los enemigos de mi juego
Juega a World of Tanks GRATIS aquí: https://tanks.ly/40sVj7z
Gracias a World of Tanks por patrocinar este video.
Algunos enemigos de mi juego Flatworld, en Unity, se mueven usando un Raycast. Sin embargo, cuando el Raycast se origina dentro de un collider / hitbox, no es capaz de detectarlo. ¿Por qué las físicas de Unity funcionan así? ¿Y cuál es la solución?
🎮 Mi juego Flatworld (episodios 1-3): https://store.steampowered.com/app/1296540/Flatworld/
🌐 Raycast (sólo cáscara): https://docs.unity3d.com/6000.0/Documentation/ScriptReference/Physics.Raycast.html
🌐 BoxCast (sólo cáscara): https://docs.unity3d.com/6000.0/Documentation/ScriptReference/Physics.BoxCast.html
🌐 OverlapSphere (volumen): https://docs.unity3d.com/6000.0/Documentation/ScriptReference/Physics.OverlapSphere.html
🌐 OverlapBox (volumen): https://docs.unity3d.com/6000.0/Documentation/ScriptReference/Physics.OverlapBox.html
🌏 Mis juegos: https://guinxu.com/
🔴 DIRECTOS: https://twitch.tv/guinxu
🐦 TWITTER: https://twitter.com/guinxu
📷 INSTAGRAM: https://instagram.com/Guinxu
📱 TIKTOK: https://tiktok.com/@guinxudev
▶ ▶ Música usada en el vídeo ◀ ◀
Intro: "Shell Warfare" (Hylian Lemohttp://ocremix.org/.org)
OST de Final Fantasy 6 y Doraemon 3 Nobita no Machi SOS
Outro: "Golden Sun Rebirth of Venus" (Matt R., S. Battlhttp://ocremix.org/.org)
Me llamo Guinxu y desarrollo videojuegos indie en Unity para PC (Steam) y Android. En mi canal te ayudo a crear tus propios juegos y manipulo juegos conocidos para aprender cómo funcionan sus trucos y técnicas. Además comparto los avances de mis proyectos y cómo soluciono los bugs que surjan.
Other Videos By Guinxu
Other Statistics
Flatworld Statistics For Guinxu
Currently, Guinxu has 22,439,406 views for Flatworld across 74 videos. There's close to 11 hours worth of content for Flatworld published on his channel, or 32.91% of the total watchable video on Guinxu's YouTube channel.