Player car script and encountered this issue: BCE0005: Unknown identifier:

I made this simple player car script and encountered this issue:
I tried to put function in front of carPhysicsUpdate but nothing worked.
I have been stuck on this for a long time. Please help :slight_smile:

Assets/Car.js(78,9): BCE0005: Unknown identifier: ‘carPhysicsUpdate’.
Assets/Car.js(81,9): BCE0005: Unknown identifier: ‘checkInput’.
Assets/Car.js(103,25): BCE0005: Unknown identifier: ‘wheelsTransform’.
Assets/Car.js(104,25): BCE0005: Unknown identifier: ‘wheelsTransform’.
Assets/Car.js(105,25): BCE0005: Unknown identifier: ‘wheelsTransform’.
Assets/Car.js(106,25): BCE0005: Unknown identifier: ‘wheelsTransform’.
Assets/Car.js(134,25): BCE0005: Unknown identifier: ‘Imput’.
Assets/Car.js(225,9): BCE0005: Unknown identifier: ‘carRididbody’.
Assets/Car.js(256,17): BCE0005: Unknown identifier: ‘carRididbody’.
Assets/Car.js(256,40): BCE0005: Unknown identifier: ‘engineForce’.
Assets/Car.js(262,9): BCE0005: Unknown identifier: ‘carRididbody’.
Assets/Car.js(269,9): BCE0005: Unknown identifier: ‘carRididbody’.

If you need any other information I would be happy to send it to you.

1434576–76531–$Car.js (5.54 KB)

Read the errors and see what they’re telling you. They are telling you exactly what is wrong.

Take that first one. It’s telling you that it doesn’t know what the identifier “carPhysicsUpdate” is. And in your other thread someone else already told you how to fix that. :wink:

Whenever you create an identifier (a name for anything in your code) you need to use it exactly as it’s typed whenever you refer back to it.