Jump to content

Coding Help

fiberzs is dad

So im new to coding and i am watching an old tutorial on unity, i typed the script exactly and there is an error i tried to figure it out but i couldn't seem to find the problem. Thanks.

Capture.PNG

1Capture.PNG

Link to comment
Share on other sites

Link to post
Share on other sites

take the space out between rotationSpeed =100 and let me know your results.

qυoтe мe pleaѕe!

Me at the Apple store: "So how fast is this little macbook?"

Apple employee: "Cheetah Fast. Lightning Fast. It's Really, really, fast."

Link to comment
Share on other sites

Link to post
Share on other sites

2 minutes ago, Natsoup said:

take the space out between rotationSpeed =100 and let me know your results.

still the same error unfortunately 

Link to comment
Share on other sites

Link to post
Share on other sites

Your missing parenthesis. GetComponent(.....)

 

https://docs.unity3d.com/ScriptReference/GameObject.GetComponent.html

CPU: Intel i7 - 5820k @ 4.5GHz, Cooler: Corsair H80i, Motherboard: MSI X99S Gaming 7, RAM: Corsair Vengeance LPX 32GB DDR4 2666MHz CL16,

GPU: ASUS GTX 980 Strix, Case: Corsair 900D, PSU: Corsair AX860i 860W, Keyboard: Logitech G19, Mouse: Corsair M95, Storage: Intel 730 Series 480GB SSD, WD 1.5TB Black

Display: BenQ XL2730Z 2560x1440 144Hz

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×