Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (Akow, TipmyPip, tomaslolo), 788 guests, and 11 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19055 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 | 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