Reply To: Alright so Ive got a question. The script works great on its own, but in the environment I've got set up it doesn't. Ill r…

Forum Archive Alright so Ive got a question. The script works great on its own, but in the environment I've got set up it doesn't. Ill r… Reply To: Alright so Ive got a question. The script works great on its own, but in the environment I've got set up it doesn't. Ill r…

#24978
Jonathan Gonzalez
Participant

    This course didn’t introduce movement so the script doesn’t account for that. In the FPS UI Design course the script was modified for movement and was replaced with
    “transform.LocalPosition” instead of “transform.position”. So instead of using the global positions it’ll use the local positions of the object.

    There are a few other changes made as well in that course so I’d recommend watching that or just looking at the scripts in that course. Let me know if you have any other questions.