Close Camera Collision

View previous topic View next topic Go down

Close Camera Collision

Post  calebcohoon on Wed Jul 29, 2009 12:26 am

Hi,

I've been playing around with the code from tutorial 6 and I have a question about the camera collision. I've been trying to figure out how to the camera very close to an object before it registers a collision. For example, I built a simple wall and I made it a static actor. When I run the camera into the wall, collision works but the camera still looks far away from the object(noticeable with a texture map). Is there a way I can get the camera right up to the wall closer? I've played around with the camera settings in blender and the camera radius size and height in the code but nothing looks good. Any ideas? It's late for me here so I'm probably doing something dumb... Neutral

Thanks

calebcohoon

Posts : 15
Join date : 2009-07-25

View user profile

Back to top Go down

Re: Close Camera Collision

Post  sio2interactive on Wed Jul 29, 2009 1:42 am

Just adjust the size of the collision shape of the camera...

_________________
SIO2 Interactive
Free Open Source 3D Game Engine for iPhone and iPod Touch
http://sio2interactive.com
avatar
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 38
Location : Shanghai

View user profile http://sio2interactive.com

Back to top Go down

Re: Close Camera Collision

Post  calebcohoon on Wed Jul 29, 2009 4:50 pm

Actually I just figured out my problem...my scene objects were scaled too small. Making them larger gave me the desired effect.

calebcohoon

Posts : 15
Join date : 2009-07-25

View user profile

Back to top Go down

Re: Close Camera Collision

Post  Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum