Unity 3D Tutorial Part 13: Fixing The Look At Script

preview_player
Показать описание
Click here to go to part 14:

Hello and welcome to my thirteenth tutorial on Unity 3D, in this tutorial I will show you how to fix the look at script which we did which was not working.

Codes:

FaceBook Group:

Please rate, comment, subscribe and enjoy.
Рекомендации по теме
Комментарии
Автор

check the spawn point, make sure its not touching your character or character controller :)

Dkryption
Автор

My friend, this fix was a glitch fix. It was not meant to fix it on all characters. This is explained in the future. My apologies.

Dkryption
Автор

i think the freak out is to do with our models. floats high ? check your scene and see if its fixed there

Dkryption
Автор

var player : Transform;
function Update () 
{
transform.LookAt(new Vector3(player.transform.position.x, transform.position.y,
}

thats the only way ive been able to remove the wonky style

Devcutter
Автор

what do you mean reference? as in the error or the collider?

Dkryption
Автор

no when i moved everything in the character the bullets will sometimes go in the ground and stop shooting

bobbilly
Автор

Wouldn't that make Shao Kahn look at him self?

Dkryption
Автор

haha ugh my bad guy floats kinda high up and bends down to look and still freaks out ugh

bobbilly
Автор

glitched how? your bullets shouldn't be affected by the looking script

Dkryption
Автор

my model doesent have a reference hat do i do

bobbilly
Автор

okay now it says that cam3rd is not assingned yet but i have

bobbilly
Автор

ugh thi messed up my game my bullets are totally glitched

bobbilly
visit shbcf.ru