Camera falls straight through floor in tutorial06?

This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.

View previous topic View next topic Go down

Camera falls straight through floor in tutorial06?

Post  ypyean on Sat Oct 10, 2009 1:22 pm

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 2:48 pm

Yes, set it as a static object

_________________
Director of Linart, SNC
Creators of Fast food Nation,
iBullsEye,
and soon SWAPit.
*website under construction click here for the old one.

IanLinart

Posts: 26
Join date: 2009-08-12
Age: 21
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 3:25 pm

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 4:57 pm

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

IanLinart

Posts: 26
Join date: 2009-08-12
Age: 21
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 6: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 5:10 pm

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

IanLinart

Posts: 26
Join date: 2009-08-12
Age: 21
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 6: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

sio2interactive

Posts: 1524
Join date: 2008-08-26
Age: 30
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 7:01 pm

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

IanLinart

Posts: 26
Join date: 2009-08-12
Age: 21
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 Mon Oct 12, 2009 2:12 am

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 Mon Oct 12, 2009 2:57 am

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 6: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

View previous topic View next topic Back to top


This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
Permissions of this forum:
You cannot reply to topics in this forum