Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 953 guests, and 5 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
Physics ? #314867
03/11/10 17:53
03/11/10 17:53
Joined: Nov 2008
Posts: 215
V
vertex Offline OP
Member
vertex  Offline OP
Member
V

Joined: Nov 2008
Posts: 215
Using 3DGS physics. Why is the object with this object going half way through floor and bouncing up and down...
I've tried adjusting, so settings below are one of many tried.

Box and sphere are okay, but I get the same problem with poly physics.



action cylinder(){


ph_setgravity (vector(0, 0, -300)); // set the gravity
phent_settype (my, PH_RIGID, PH_CYLINDER); // set the physics entity type
phent_setmass (my, 10, PH_CYLINDER); // and its mass
phent_setfriction (my, 80); // set the friction
phent_setdamping (my, 100, 100); // set the damping
phent_setelasticity (my, 10, 10); // set the elasticity
}

Re: Physics ? [Re: vertex] #315011
03/12/10 17:53
03/12/10 17:53
Joined: Jun 2008
Posts: 402
Germany
S
sebbi91 Offline
Senior Member
sebbi91  Offline
Senior Member
S

Joined: Jun 2008
Posts: 402
Germany
cylinder and polygon physics dosen't work under 3d gamestudio as well!
Sometimes it works, but' seldom ^^

If you really need cylinder than use Newton or PhysX.


3D-Gamestudio A8 - Commercial
Re: Physics ? [Re: sebbi91] #315013
03/12/10 18:00
03/12/10 18:00
Joined: May 2002
Posts: 7,441
ventilator Offline
Senior Expert
ventilator  Offline
Senior Expert

Joined: May 2002
Posts: 7,441
physx doesn't support cylinders either. it originally was based on ode so maybe that's the reason? tongue

newton and bullet support cylinders though.

Re: Physics ? [Re: ventilator] #315025
03/12/10 18:40
03/12/10 18:40
Joined: May 2008
Posts: 2,113
NRW/Germany
alibaba Offline
Expert
alibaba  Offline
Expert

Joined: May 2008
Posts: 2,113
NRW/Germany
try to set c_setminmax(me); at the beginning of your action. maybe the collision box isnt applied right.


Professional Edition
A8.47.1
--------------------
http://www.yueklet.de
Re: Physics ? [Re: alibaba] #315042
03/12/10 21:11
03/12/10 21:11
Joined: May 2009
Posts: 1,816
at my pc (duh)
darkinferno Offline
Serious User
darkinferno  Offline
Serious User

Joined: May 2009
Posts: 1,816
at my pc (duh)
c_setminmax wont work, you can and should only use PH_BOX and PH_SPHERE for moving entities....

Re: Physics ? [Re: darkinferno] #315045
03/12/10 21:50
03/12/10 21:50
Joined: May 2009
Posts: 137
Ohio, U.S.A.
PigHunter Offline
Member
PigHunter  Offline
Member

Joined: May 2009
Posts: 137
Ohio, U.S.A.
Yeah, darkinferno is correct...c'mon, read the manual you guys!!!

Re: Physics ? [Re: PigHunter] #316049
03/20/10 23:50
03/20/10 23:50
Joined: Jan 2010
Posts: 16
KlongKiller Offline
Newbie
KlongKiller  Offline
Newbie

Joined: Jan 2010
Posts: 16
Seriously I have learned so much more from the manual and tinkering then from forums!!


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