Auto cam movement in a room, How ??

Hi,

i need guidance, i need a auto FPS movement in my room after its loaded…and once the user clicks on the screen or touch mouse, movement should stop and controls come to default

What to do ??

any script to do movement with just using mouse ??

Thanks

I really don’t understand the way your question is worded. I think you are saying you want to create a rail shooter camera setup?..Like Time Crisis?..

More clarity on my question – when somebody open my webplayer…the FPS should start moving [loop] automatically at a dead slow speed [in a set path]…

till when ?

until the user presses any key or holds his mouse in his hand

any suggesstions ??

I guess a self-made solution would be best, but until then, this sounds like a perfect job for iTween. You could add a iTween.move script to the camera and stop it once a key is pressed or the mouse is moved. Mouse movement can be tested by writing the current mouse position in a temp variable on each update. If the current position is different from the one stored in the temp, the mouse has moved.

is iTween free ?? and will this be as easy as ur saying :slight_smile: from where can i download it…

iTween is available for free on the Asset Store. For more information, you can check iTween for Unity by Bob Berkebile (pixelplacement)

Setting up a script (well, one line of code) for a simple movement from A to B is fairly easy. A more complex path consisting of several waypoints might be a bit harder, though I haven’t looked into the iTween path editor yet.

Why not keep it simple? Use the animation window inside Unity itself, make an animation of the player play automatically, it could look really awesome. Simply have it play automatically while your game gets ready or whatever you’re doing.

I made a small test here:

:roll_eyes: