3D object collision example

Post your own tutorials, guides and demos.

Post » Tue May 10, 2011 4:49 pm

Throw the ball at the boxes and tables to destroy them(drag and drop\release)



Each box type requires more hits to destroy it (glass, cardboard, wood)

Avoid the 'Saws'

[url:1suirf9a]http://dl.dropbox.com/u/22173473/3D_balltoss.cap[/url:1suirf9a]

Feel free to use, modify, whatever.(99.97)

[color=#0000BF:1suirf9a]Oh... and right click to add a box.[/color:1suirf9a]
B
19
S
6
G
7
Posts: 1,206
Reputation: 7,300

Post » Tue May 10, 2011 5:44 pm

very nice - works a treat. I like the saw part.

..EDIT....
I actually thought the saw accelerated the ball the first time I tried it (maybe an idea?). Instead it just restarts the layout, which is OK, but not as impressive :)
If your vision so exceeds your ability, then look to something closer.
Moderator
B
120
S
28
G
68
Posts: 4,850
Reputation: 48,301

Post » Tue May 10, 2011 6:33 pm

[quote="zenox98":18i2bk98]very nice - works a treat. I like the saw part.

..EDIT....
I actually thought the saw accelerated the ball the first time I tried it (maybe an idea?). Instead it just restarts the layout, which is OK, but not as impressive :)[/quote:18i2bk98]

Good idea, it goes a bit mad though!



[url:18i2bk98]http://dl.dropbox.com/u/22173473/3D_balltoss2.cap[/url:18i2bk98]
B
19
S
6
G
7
Posts: 1,206
Reputation: 7,300

Post » Tue May 10, 2011 6:37 pm

I thought that rather than a normal football - which wouldn't really be able to destroy the boxes etc, should maybe look like a metal ball. Then it would be able to survive and catapult off the saw.

I know you're only playing - just thinking out loud :)
If your vision so exceeds your ability, then look to something closer.
Moderator
B
120
S
28
G
68
Posts: 4,850
Reputation: 48,301

Post » Sun May 15, 2011 10:04 pm

This is 3d BOX COLISION :/



HOW TO MAKE 3d OBJECT COLISION ? IMPORTED BY FILE EXTERNAL ? :(
Amilton Neves do Brasil. Criando jogos des de 1999.
B
30
S
8
G
6
Posts: 223
Reputation: 8,719

Post » Sun May 15, 2011 11:47 pm

[quote="amiltonbr":3chquf0w]This is 3d BOX COLISION :/



HOW TO MAKE 3d OBJECT COLISION ? IMPORTED BY FILE EXTERNAL ? :([/quote:3chquf0w]

Well a 3D Box is a 3D Object ;)

I'm sure there are example files on these forums how to load 3D objects. Search (top right) is your friend!

edit> A few posts down, you should've noticed - viewtopic.php?f=8&t=9506 - by the same author.
B
15
S
5
G
7
Posts: 877
Reputation: 5,650

Post » Mon May 16, 2011 12:42 am

[quote="amiltonbr":3mnicl7n]This is 3d BOX COLISION :/



HOW TO MAKE 3d OBJECT COLISION ? IMPORTED BY FILE EXTERNAL ? :([/quote:3mnicl7n]

You are right, they are '3d BOXES' not '3d OBJECTS'. :oops:

There is examples of 3d Objects with collisions here:

[url:3mnicl7n]http://www.scirra.com/forum/viewtopic.php?f=8&t=9506#p72787[/url:3mnicl7n]
B
19
S
6
G
7
Posts: 1,206
Reputation: 7,300

Post » Mon May 16, 2011 1:29 am

THanck very Much... the 3d box colidies was a BOX. HOW TO COLIDIES IN OBJ FILE FOR SAMPLE... TJE JET AILERON NO COLIDIES ;(
Amilton Neves do Brasil. Criando jogos des de 1999.
B
30
S
8
G
6
Posts: 223
Reputation: 8,719


Return to Your tutorials & example files

Who is online

Users browsing this forum: No registered users and 0 guests