Question by
AtomicCabbage33 · Sep 05, 2015 at 01:22 AM ·
scripting problemdoor
Why is my door not working properly?
As soon as I start the game, my door just continuously opens and shuts without me even pressing 'e' which is what I'm supposed to press to open the door. The door animations are attached to the door object and the door script to the main camera. Any help would be greatly appreciated cheers :)
door-script.jpg
(40.7 kB)
defg.jpg
(121.7 kB)
Comment
i get the error 'Object reference not set to an instance of an object'
Your answer
Follow this Question
Related Questions
Something interesting with code 0 Answers
Raycasting Animations 0 Answers
Script creates a loop of the door opening and closing 2 Answers
Opening/Closing doors 1 Answer
CS1519 error 0 Answers