Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (AndrewAMD, TedMar, dr_panther), 1,049 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
Need help for a nice Physikball #425592
07/09/13 01:52
07/09/13 01:52
Joined: Jun 2008
Posts: 156
B
Bastiuscha Offline OP
Member
Bastiuscha  Offline OP
Member
B

Joined: Jun 2008
Posts: 156
Hi,

first sry for my english...but i think its better for the results.

I try to make a Pinballgame and use the Physikengine for that. That brings some Problems...and one of them is the Ball.
At my opinion, the Ball is not realistic enough. The Ball ist to heavy. What can i do? My Physic Flipperarm need a much power, to shoot the Ball...this brings other new Problems. Because i need a lighter Ball. So what can i do?

All i know is this:
pXent_setfriction (me,101);
pXent_setdamping (me,50,10);
pXent_setelasticity (me,20);
pXent_setmass(me, 10);

I played a long Time with these Parameters, but never had a ideal result. The Problem is, (bevor you ask) if i give the Flipperarms to much power, the Physikengine donīt work fine. The Arms dont move correct, and the collison donīt work fine to. With less Power, all is fine.

So, this was my first Problem, and the second one is the Z-Axes Jumping of the Ball.
Somtimes the Ball jump out of the Table. Im not sure, but i believe the Frozen_Pos command donīt work here fine. Also i need a bit Z moving, because i plan to build Ramps and other Stuff...
Always if the Ball becomes a high Rotation or Speed, and become a clash, boing* it jumps out.

Re: Need help for a nice Physikball [Re: Bastiuscha] #425729
07/10/13 11:38
07/10/13 11:38
Joined: Jul 2013
Posts: 158
F
Feindbild Offline
Member
Feindbild  Offline
Member
F

Joined: Jul 2013
Posts: 158
Lower the friction, 101 sounds like a bit too much IMO.

Re: Need help for a nice Physikball [Re: Feindbild] #425744
07/10/13 14:00
07/10/13 14:00
Joined: Jun 2008
Posts: 156
B
Bastiuscha Offline OP
Member
Bastiuscha  Offline OP
Member
B

Joined: Jun 2008
Posts: 156
This donīt make the Ball lighter and stops Z-Axis jumping. Additionally the Ballrotate is worser, because it slide over the Table.

Re: Need help for a nice Physikball [Re: Bastiuscha] #425990
07/14/13 20:42
07/14/13 20:42
Joined: Jun 2008
Posts: 156
B
Bastiuscha Offline OP
Member
Bastiuscha  Offline OP
Member
B

Joined: Jun 2008
Posts: 156
HMM...i wonder why nobody knows a answer?! Is this to difficult or to simple? grin
Or is my english to bad? I can try to explain it again.

Re: Need help for a nice Physikball [Re: Bastiuscha] #425993
07/14/13 21:23
07/14/13 21:23
Joined: Jan 2002
Posts: 4,225
Germany / Essen
Uhrwerk Offline
Expert
Uhrwerk  Offline
Expert

Joined: Jan 2002
Posts: 4,225
Germany / Essen
Originally Posted By: Bastiuscha
The Ball ist to heavy.
Reducing the ball's mass is not an option here because ... ?


Always learn from history, to be sure you make the same mistakes again...
Re: Need help for a nice Physikball [Re: Uhrwerk] #425995
07/15/13 01:45
07/15/13 01:45
Joined: Jun 2008
Posts: 156
B
Bastiuscha Offline OP
Member
Bastiuscha  Offline OP
Member
B

Joined: Jun 2008
Posts: 156
Because the Ball is still to heavy. laugh I try setmass 1 and setmass 0. The Ball is lighter, but not enough.

About the second Problem:
Is it possible to delete the Z-Pos Physik of the Ball WITHOUT Frozenpos setting?

Re: Need help for a nice Physikball [Re: Bastiuscha] #425996
07/15/13 05:20
07/15/13 05:20
Joined: Feb 2010
Posts: 320
TANA/Madagascar
3dgs_snake Offline
Senior Member
3dgs_snake  Offline
Senior Member

Joined: Feb 2010
Posts: 320
TANA/Madagascar
Hi,

I can try to help but I need a working part of your code, so I can see what is wrong.

Re: Need help for a nice Physikball [Re: 3dgs_snake] #426019
07/15/13 12:23
07/15/13 12:23
Joined: Jan 2002
Posts: 4,225
Germany / Essen
Uhrwerk Offline
Expert
Uhrwerk  Offline
Expert

Joined: Jan 2002
Posts: 4,225
Germany / Essen
You can stil reduce the damping, friction and the elasticity.

Well, you have to choose, either freeze the z-axis or don't freeze it. There is nothing in between.


Always learn from history, to be sure you make the same mistakes again...
Re: Need help for a nice Physikball [Re: Uhrwerk] #426030
07/15/13 14:03
07/15/13 14:03
Joined: Jun 2007
Posts: 1,337
Hiporope and its pain
txesmi Offline
Serious User
txesmi  Offline
Serious User

Joined: Jun 2007
Posts: 1,337
Hiporope and its pain
It's been awhile since the last time I played with physX and I wanted to refresh it. The result is so scale dependant that it will probably not work with your pinball board. It serves, at least, to know that it is possible wink

Salud!

Re: Need help for a nice Physikball [Re: txesmi] #426114
07/16/13 18:32
07/16/13 18:32
Joined: Jun 2008
Posts: 156
B
Bastiuscha Offline OP
Member
Bastiuscha  Offline OP
Member
B

Joined: Jun 2008
Posts: 156
Yeah awesome Code txesmi! Thank you very much! This answer all my Questions and give me some other new Stuff, i never hear about this before. :-)

Page 1 of 2 1 2

Moderated by  HeelX, Spirit 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1