Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
3 registered members (Ayumi, NewbieZorro, TipmyPip), 13,888 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Physikobjekt macht nichts #15807
06/13/03 18:12
06/13/03 18:12
Joined: Mar 2003
Posts: 569
FRAJO Offline OP
User
FRAJO  Offline OP
User

Joined: Mar 2003
Posts: 569
Hi!

ich habe mal die neue physik-engine testen wollen,
doch das ph-objekt macht nichts( fällt nicht mal auf denn boden). Kann mir einer helfen?
pht ist das physikobjekt

code:
 
Function sp () {
var gr [3];
gr.z=-386;
phent_settype(pht,ph_rigid,ph_sphere);
phent_setdamping(pht,0,0);
phent_settmass(pht,10,ph_sphere);
phent_setelasticity(pht,50,100);
phent_setgroup(pht,2);
ph_setgravity(gr);
}

Danke schonmal!

A6 com


------------------------------------------- ICQ: 242543712 Ich bin nicht hier und bin nicht da. Wo bin ich dann? ".." ("") ^ ^ This is the evil vampire bunny. Copy and paste him into your signiture to help him achieve world domination. Yeah
Re: Physikobjekt macht nichts #15808
06/13/03 21:14
06/13/03 21:14
Joined: Apr 2003
Posts: 111
france
seb_dup1 Offline
Member
seb_dup1  Offline
Member

Joined: Apr 2003
Posts: 111
france
Action sp
{
Var gr [3]=0,0,-386;
Ph_setgravity (gr);
Phent_settype (pht, ph_rigid, ph_sphere);
Phent_setdamping (pht, 0,0);
Phent_settmass (pht, 10, ph_sphere);
Phent_setelasticity (pht, 50,100);
Phent_setgroup (pht, 2);

}
Sorry, i can't speak german ;you have to put in var gr 3 numbers.
[Smile]

Re: Physikobjekt macht nichts #15809
06/14/03 03:21
06/14/03 03:21
Joined: Mar 2003
Posts: 569
FRAJO Offline OP
User
FRAJO  Offline OP
User

Joined: Mar 2003
Posts: 569
Thank you a lot!


------------------------------------------- ICQ: 242543712 Ich bin nicht hier und bin nicht da. Wo bin ich dann? ".." ("") ^ ^ This is the evil vampire bunny. Copy and paste him into your signiture to help him achieve world domination. Yeah

Moderated by  HeelX, Spirit 

Gamestudio download | 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