Camera falls straight through floor in tutorial06?

View previous topic View next topic Go down

Camera falls straight through floor in tutorial06?

Post  ypyean on Sat Oct 10, 2009 7:22 am

Hi,

I follow the video tutorial06 to add a plane as floor, and set its physics property in blender as tutorial shows. However, the camera still falls through the floor.

I simply turn on the Logic -> "Actor" option of floor in blender. Did I miss something? Thanks.

ypyean

Posts : 9
Join date : 2009-10-02

View user profile

Back to top Go down

Re: Camera falls straight through floor in tutorial06?

Post  IanLinart on Sat Oct 10, 2009 8:48 am

Yes, set it as a static object
avatar
IanLinart

Posts : 26
Join date : 2009-08-12
Age : 28
Location : Montréal

View user profile http://iapps.linart.qc.ca

Back to top Go down

Re: Camera falls straight through floor in tutorial06?

Post  ypyean on Sat Oct 10, 2009 9:25 am

Thanks for reply quickly.

I have set it as a static object, but no luck. The camera still falls through the plane. Any idea?

PS. I use blender 2.49 ver.

ypyean

Posts : 9
Join date : 2009-10-02

View user profile

Back to top Go down

Re: Camera falls straight through floor in tutorial06?

Post  IanLinart on Sat Oct 10, 2009 10:57 am

What is the bound type? Open the original tutorial6 blend file and make sure everything is the same, For the camera too..
avatar
IanLinart

Posts : 26
Join date : 2009-08-12
Age : 28
Location : Montréal

View user profile http://iapps.linart.qc.ca

Back to top Go down

Re: Camera falls straight through floor in tutorial06?

Post  ypyean on Sun Oct 11, 2009 12:09 am

Yes, I have copied each physics settings from tutorial06 for both plane and camera, but still no luck.

Plane: Static - Actor, Triangle Mesh Bounds
Camera: Box Bounds

I have uploaded my test blender file to rapidshare:

http://rapidshare.com/files/291437356/test.blend.html

Please kindly help me about this problem. I am new to SIO2 and I know it could be a simple question, however, I already spent much time on this issue. Thank you once again for your kindly help.

ypyean

Posts : 9
Join date : 2009-10-02

View user profile

Back to top Go down

Re: Camera falls straight through floor in tutorial06?

Post  IanLinart on Sun Oct 11, 2009 11:10 am

Unclick the bound button for the camera.. There's an issue with triangle mesh.. don't really know much about it. If the camera still fall trough, change the bound type of the floor to convex hull
avatar
IanLinart

Posts : 26
Join date : 2009-08-12
Age : 28
Location : Montréal

View user profile http://iapps.linart.qc.ca

Back to top Go down

Re: Camera falls straight through floor in tutorial06?

Post  sio2interactive on Sun Oct 11, 2009 12:30 pm

Unclick the bound button for the camera..

>> This have no effect... You have to set the camera collision in code like in tutorial061 ~ 062

There's an issue with triangle mesh.. don't really know much about it.

>> There's only 1 type that can be use for camera and its basically Cylinder

If the camera still fall trough, change the bound type of the floor to convex hull

>> Convex hull still receive gravity and is heavy in calculation... It is probably the worst suggestion considering what the user want to do... Triangle Mesh work perfectly fine for any type of ground.

_________________
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 : 37
Location : Shanghai

View user profile http://sio2interactive.com

Back to top Go down

Re: Camera falls straight through floor in tutorial06?

Post  IanLinart on Sun Oct 11, 2009 1:01 pm

Do you use the same project template provided with the SDK (tutorial61) or you recreate it by yourself?
avatar
IanLinart

Posts : 26
Join date : 2009-08-12
Age : 28
Location : Montréal

View user profile http://iapps.linart.qc.ca

Back to top Go down

Re: Camera falls straight through floor in tutorial06?

Post  ypyean on Sun Oct 11, 2009 8:12 pm

Yes, I used the logic parameters of tutorial06.sio2 provided in SDK, but could not to create the same effect.

I also tried to create a ground used tutorial9.sio2 logic parameter (ground: simply static actor, no bounds type, camera: no settings in logic), but the camera still fall through the ground. I finally copied entire ground object from tutorial09.sio2 and it works.

It is strange that I can't create ground myself (used the same logic parameters in tutorials)?

ypyean

Posts : 9
Join date : 2009-10-02

View user profile

Back to top Go down

You need to reset the ground mesh scale to 1

Post  Francescu on Sun Oct 11, 2009 8:57 pm

Camera falls through because you have NOT reset the scale to 1 on the plane mesh.

select the plane (triangle mesh) and then hit Ctrl-A and pick 'Scale & Rotation to obData'

save and re-export - it should work.

Francescu

Posts : 136
Join date : 2009-03-18

View user profile

Back to top Go down

Re: Camera falls straight through floor in tutorial06?

Post  ypyean on Mon Oct 12, 2009 12:13 am

Hi Francescu,

After reset the scale to 1 on the plane mesh, it works. Thanks for your great help. Very Happy

ypyean

Posts : 9
Join date : 2009-10-02

View user profile

Back to top Go down

Re: Camera falls straight through floor in tutorial06?

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