Welcome Guest [Log In] [Register]
We hope you enjoy your visit.


You're currently viewing the Ultimate 3D Community as a guest. This means that you can only read posts, but can not create posts or topics by yourself. To be able to post you need to register. Then you can participate in the community active and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.

Join our community!

If you are already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
Making a small ball inside a raffle ball not move out; the ball falls outside of the raffle ball
Topic Started: Aug 25 2012, 11:27 PM (234 Views)
MisuMen
Member Avatar
Advanced Member
[ *  *  * ]
Hello everyone, I'm back and with a new problem.

I'm working on a spinning wired raffle ball (for like Bingo) for a game I'm making for a friend. I am using GM Bullet for gravity and Ultimate 3D (obviously)for 3D. But my small lotto ball that goes inside the spinning raffle ball falls down thru the raffle ball. Here is what I did:

create event for object Physics_control:
Quote:
 
GMBULLET_SetWorldGravity(0,0,-600);
shape_ball = GMBULLET_CreateSphereShape(8);


create event for object lotto_no (small ball):
Quote:
 
file="bally.3ds"
LoadMesh()

xscale=4
yscale=4
zscale=4

body = GMBULLET_AddRigidBody( 0.5, 1, Physics_control.shape_ball , x,y,z, 0,0,0 );


create event for object spin_ball ( wired raffle ball ):
Quote:
 
file="ball.3ds"
LoadMesh()

shape_body = GMBULLET_CreateTriMeshShapeFrom3DSFile("ball.3ds",1)

body = GMBULLET_AddRigidBody(0, 0, shape_body , x,y,z, 0,0,0 );


What should i do so the ball can maintain inside of the raffle ball? :(
Offline Profile Quote Post Goto Top
 
PoniesForPeace
Member Avatar
Elite Member
[ *  *  *  * ]
Hmm, I think you have to make a trimesh, make a sphere then reverse the backfaces and save as a 3ds.
favorite soda: oogave agave watermelon Cream

favorite cheese: blueberry winsledale

Offline Profile Quote Post Goto Top
 
MisuMen
Member Avatar
Advanced Member
[ *  *  * ]
Wont that be a bit complicated yet long process to go thru? :-/
Offline Profile Quote Post Goto Top
 
PoniesForPeace
Member Avatar
Elite Member
[ *  *  *  * ]
MisuMen
Aug 26 2012, 01:40 AM
Wont that be a bit complicated yet long process to go thru? :-/
Yes but not if you know what you're doing. That old example I posted shows how to import a 3ds as a trimesh.

I'm pretty sure the engine doesn't natively support inverted spheres.
Edited by PoniesForPeace, Aug 26 2012, 04:52 PM.
favorite soda: oogave agave watermelon Cream

favorite cheese: blueberry winsledale

Offline Profile Quote Post Goto Top
 
MisuMen
Member Avatar
Advanced Member
[ *  *  * ]
Yep, its official, it doesnt support inverted spheres. Nothing works.

Are there any other ways or is there a better way to do this?
Offline Profile Quote Post Goto Top
 
PoniesForPeace
Member Avatar
Elite Member
[ *  *  *  * ]
I'm not suprised, better learn how to wrap your head around 3ds, and fast.
favorite soda: oogave agave watermelon Cream

favorite cheese: blueberry winsledale

Offline Profile Quote Post Goto Top
 
MisuMen
Member Avatar
Advanced Member
[ *  *  * ]
Well its been 4 months, and I have 3 u3d-made projects to be finished this year. Can someone else help me on this problem? :(
Offline Profile Quote Post Goto Top
 
ZetaBoards - Free Forum Hosting
ZetaBoards gives you all the tools to create a successful discussion community.
« Previous Topic · Questions about Ultimate 3D · Next Topic »
Add Reply