Gamestudio Links
Zorro Links
Newest Posts
Z9 getting Error 058
by k_ivan. 04/20/26 15:57
Stooq now requires an API key
by jcl. 04/13/26 09:42
Strange "Alien" Skull created with >Knubber<
by NeoDumont. 04/10/26 18:58
400 free seamless texture pack downl. here !
by NeoDumont. 04/08/26 19:55
ZorroGPT
by TipmyPip. 04/08/26 17:08
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (Grant), 3,476 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
juergenwue, VladMak, Geir, ondrej, mredit
19208 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