Does the built-in A6 Camera go through walls?

Posted By: MegaMarioDeluxe

Does the built-in A6 Camera go through walls? - 05/24/09 07:50

Hi,

Having no luck finding a camera that I like, I decided to take a attempt at making my own Mario 64 camera.

Having played Mario 64 a lot, I know how the camera works and it sometimes goes through walls.

I was wondering if the built-in A6 engine camera does go through walls, or it is 'intelligent' and stops rotating/moving when there's a wall somewhere.

Cheers.
Posted By: Pappenheimer

Re: Does the built-in A6 Camera go through walls? - 05/24/09 08:36

I'm not sure what you mean by 'build in'. Do you mean the templates or that what you can access via the term 'camera' in your scripts.
The template has some obstacle avoidance, but the mere camera of the engine doesn't.
Posted By: jaknine

Re: Does the built-in A6 Camera go through walls? - 06/01/09 17:03

Just make your walls and the camera entity "passable" and you'll be all set. Unless the camera code you're using is set up to avoid walls then there won't be anything stopping it from going wherever you like.
Posted By: sebbi91

Re: Does the built-in A6 Camera go through walls? - 06/01/09 17:18

what excactly is your problem?

If the camera "go" trough walls, than set the camera to the position of an moving Object with collison!

If your camera stops at the wall but sometimes "look" through the wall than set the clip_near down!

like this: Camera1.clip_near = 0;



Posted By: KiwiBoy

Re: Does the built-in A6 Camera go through walls? - 06/01/09 20:01

Camera in al scripta goes thru walls if not told to otherwise.

Morrow wing camera code has built in obstacle avoidance, as do some user examples.

A mate says Orange Brat went thru a lot to develop a 3rd person camera that worked well back then so perhaps you could find him and his thread and go thru that (its pretty big according to my mate here) for inspirstion and examples.

Other users post small camera snippets so search may yield good results too.

Also, Locoweed developed a 3rd person camera that could be stll available, I dont know as I never tried those solutions but was intending to research them soonish.
Posted By: MegaMarioDeluxe

Re: Does the built-in A6 Camera go through walls? - 06/05/09 06:31

Hm, thanks for the tips, keep this thread open - who know what we may find... smile
© 2024 lite-C Forums