FORUM CLOSED, PLEASE REGISTER AT FORUM.SIO2INTERACTIVE.COM
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Cube Falling through Plane

5 posters

Go down

Cube Falling through Plane Empty Cube Falling through Plane

Post  warrangka Mon Mar 02, 2009 8:27 pm

I had created a plane with a cube over this. Then, i set in blender the plane how an static actor, and the cube how Rigid body actor with Bound box (i´m using Blender 2.48, the menu logic is some diferent than the Blender in video tutorial).

But when i run in sio2, the cube fall through the Plane. I have open the tutorial06, an the plane and the cube have the same properties. If i load the tutorial6 in my code, it work ok,

¿What could be wrong in my blender example?.

Thanks

warrangka

Posts : 5
Join date : 2009-02-17

Back to top Go down

Cube Falling through Plane Empty Re: Cube Falling through Plane

Post  sio2interactive Mon Mar 02, 2009 8:48 pm

Similar issues have been covered a zillion time on this forum Smile

Browse a little for more info Wink

Cheers,
sio2interactive
sio2interactive

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

http://sio2interactive.com

Back to top Go down

Cube Falling through Plane Empty Re: Cube Falling through Plane

Post  warrangka Thu Mar 05, 2009 7:38 pm

With export sio2_exporter_v1.2.1.py and SIO2_SDK_v1.2.1 2 the example in Blender work ok.

I think that have the same problem that these posts

http://forum.sio2interactive.com/sio2-engine-f3/laws-of-physics-misbehaving-t400.htm
http://forum.sio2interactive.com/about-the-sdk-f1/physics-problems-t387.htm

But in my case dont work export and export again with normal. Which version of blender are using?.

warrangka

Posts : 5
Join date : 2009-02-17

Back to top Go down

Cube Falling through Plane Empty Re: Cube Falling through Plane

Post  sio2interactive Thu Mar 05, 2009 8:23 pm

Check again and again video tutorial06, and check all the details in the tutorial06.blend, you will eventually find what's wrong Wink
sio2interactive
sio2interactive

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

http://sio2interactive.com

Back to top Go down

Cube Falling through Plane Empty Re: Cube Falling through Plane

Post  sw Thu Mar 05, 2009 8:57 pm

seems some problem with the object dim calculate, so maybe you need to choose all objects and then Ctrl+A to apply the ObData in blender.
try this and tell me the result.
sw
sw

Posts : 73
Join date : 2008-10-12

Back to top Go down

Cube Falling through Plane Empty Re: Cube Falling through Plane

Post  warrangka Thu Mar 05, 2009 9:58 pm

sw wrote:seems some problem with the object dim calculate, so maybe you need to choose all objects and then Ctrl+A to apply the ObData in blender.
try this and tell me the result.

Yes, thats was the problem

A lot of thanks Wink

warrangka

Posts : 5
Join date : 2009-02-17

Back to top Go down

Cube Falling through Plane Empty Re: Cube Falling through Plane

Post  masonbryant Wed Mar 25, 2009 8:53 pm

warrangka wrote:
sw wrote:seems some problem with the object dim calculate, so maybe you need to choose all objects and then Ctrl+A to apply the ObData in blender.
try this and tell me the result.

Yes, thats was the problem

A lot of thanks Wink

Ok, clearly I'm taking stupid pills here but I still can't get the damn thing to work. I open the blend file for tutorial09 verify that it works unchanged. Then I do something as simple as move the player object and the darn thing keeps falling through the floor.

So two questions,

1: when you say apply the obdata do you mean, ctrl-a then select "visual transform to objects lat/scale/rot"
2: blender confuses me a bit, can you give me some pointers in the code where I can see what is going wrong: Where does it detect the sort of collisions between the plane and the player? Where do the objects get loaded? Etc?

Basically anything where I can set a break point and get some idea as to what I need to do in blender to make things right?

masonbryant

Posts : 2
Join date : 2009-03-25

Back to top Go down

Cube Falling through Plane Empty Re: Cube Falling through Plane

Post  sio2interactive Wed Mar 25, 2009 8:56 pm

Check the video tutorial06 I explain the FULL workflow with Blender & SIO2
sio2interactive
sio2interactive

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

http://sio2interactive.com

Back to top Go down

Cube Falling through Plane Empty Re: Cube Falling through Plane

Post  masonbryant Wed Mar 25, 2009 11:31 pm

sio2interactive wrote:Check the video tutorial06 I explain the FULL workflow with Blender & SIO2

Thanks for the quick reply!

I've checked out the tutorials a few times and I'm still doing things wrong.

I noticed (tutorial06, part 2 about 2:45 in) that you are setting the cubes to sets one of the cubes to dynamic _AND_ rigid body. This is not possible in 2.48a as dynamic and rigid body are separate choices on the object type pulldown menu.

Could that be the problem?

masonbryant

Posts : 2
Join date : 2009-03-25

Back to top Go down

Cube Falling through Plane Empty Re: Cube Falling through Plane

Post  sio2interactive Thu Mar 26, 2009 1:54 am

No, the interface in Blender look different but it is the same thing... Im actually actively using 2.48a for my own personal project and I haven't see any problem with the SIO2 integration (yet) Wink

Cheers,
sio2interactive
sio2interactive

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

http://sio2interactive.com

Back to top Go down

Cube Falling through Plane Empty Re: Cube Falling through Plane

Post  sio2interactive Thu Mar 26, 2009 1:55 am

If its really problem you can send me your .blend so I can quickly check what is wrong.
sio2interactive
sio2interactive

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

http://sio2interactive.com

Back to top Go down

Cube Falling through Plane Empty Re: Cube Falling through Plane

Post  oioioi Thu Mar 26, 2009 3:45 am

I'm also having a problem with rigid body sometimes, I use ctrl+a but it just falls through. Dynamic works fine. I have also tried with setting the "margin" but with no luck, if I set the margin higher than difference between player and plane the player shoots up in the air. If "margin" is lower than difference between player and plane nothing happens. This is on 1.3.3

Just to be sure: I click rigidbody and then actor in blender and leave everything else to default, any thing more I need to do?

oioioi

Posts : 136
Join date : 2008-12-02
Location : Norway

Back to top Go down

Cube Falling through Plane Empty Re: Cube Falling through Plane

Post  sio2interactive Thu Mar 26, 2009 4:04 am

Maybe adjust the bounds?
sio2interactive
sio2interactive

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

http://sio2interactive.com

Back to top Go down

Cube Falling through Plane Empty Re: Cube Falling through Plane

Post  oioioi Thu Mar 26, 2009 4:20 am

Do I have to adjust the bounds? In that case I misunderstood

oioioi

Posts : 136
Join date : 2008-12-02
Location : Norway

Back to top Go down

Cube Falling through Plane Empty Re: Cube Falling through Plane

Post  sio2interactive Thu Mar 26, 2009 4:48 am

heuuu yeah man... depending on what type of collision object you want to use you need to set it... maybe its time for an intensive session of the video tutorial06?
sio2interactive
sio2interactive

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

http://sio2interactive.com

Back to top Go down

Cube Falling through Plane Empty Re: Cube Falling through Plane

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

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