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
0 registered members (), 18,767 guests, and 5 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
define entity not physics object #17629
09/28/03 08:24
09/28/03 08:24
Joined: Aug 2003
Posts: 378
Marion,N.C. USA
Whisper Offline OP
Senior Member
Whisper  Offline OP
Senior Member

Joined: Aug 2003
Posts: 378
Marion,N.C. USA
question on physics,,, what define a physics object?

i get errors. example: entity not a physics object in sphere:phent_set mass(my,5,ph_sphere)and etc.
i've try a mdl string, , wmp, wmb, i know its got to be something simple.can anyone define what make a physics object, or the correct setup for it.

thanks


Re: define entity not physics object [Re: Whisper] #17630
09/28/03 11:06
09/28/03 11:06
Joined: Aug 2001
Posts: 2,320
Alberta, Canada
William Offline
Expert
William  Offline
Expert

Joined: Aug 2001
Posts: 2,320
Alberta, Canada
phent_settype(my, ph_rigid, ph_sphere);

Add that at the top of your action, it enables the entity as a physics object.


Check out Silas. www.kartsilas.com

Hear my band Finding Fire - www.myspace.com/findingfire

Daily dev updates - http://kartsilas.blogspot.com/
Re: define entity not physics object [Re: William] #17631
09/28/03 12:05
09/28/03 12:05
Joined: Aug 2003
Posts: 378
Marion,N.C. USA
Whisper Offline OP
Senior Member
Whisper  Offline OP
Senior Member

Joined: Aug 2003
Posts: 378
Marion,N.C. USA
thanks for the reply 2bit, after scratching my head for two hours i found the problem.the orginal file i had copy was incorrect or i had miss a pointer,, their example read like this.
ent_create(mdl_sphere,temp,sphere);
there was no pointer in the script for "sphere" the fix
ent_create(mdl_sphere,temp,my); or
ent_create(mdl_sphere,temp,null);

again thanks


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