Top Comments
Video Responses
All Comments (317)
-
@wtf0productions It is free
-
@wtf0productions Unity is free. You can buy a Pro version that has some perks in console publishing, but the indie one is totally free.
-
@mariovsluigi4094 too bad the software is like 500 dollars.
-
holy sht i never seen dis game maker thing awesome now i am gonna download dis and make the character i wuz tryin 2 animate :O
-
I am having a hard time with does scrypts
-
could you right the movement code in the coments so i can copy it?
-
@marshmallowjjang i red your comment before watching and tought it srsly he said tomatotwins lol
-
@Greenday96messi i guess someone answered u already, but: insert semicolon ; at teh end ^^
-
My Damp doesn't work I change Damp from 6 to 1 and its still going same speed!! Plz can somebody help!!!
-
@THExRISExOFxZOMBIES I cannot say for sure, but it sounds like a pivot point issue. This is not a problem with the code, but with the model.
i think i just heared TomatoTwins at the first??? XD
marshmallowjjang 6 months ago 26
hey I got the right script for you:
var LookAtTarget : Transform;
var damp = 6.0;
function Update () { if(LookAtTarget) { var rotate = Quaternion.LookRotation(LookAtTarget.position - transform.position); transform.rotation = Quaternion.Slerp(transform.rotation, rotate, Time.deltaTime * damp); } //transform.LoolAt(LookAtTarget); }
Droid4Fun 4 months ago 9