Gamestudio Links
Zorro Links
Newest Posts
New FXCM FIX Plugin
by flink. 06/04/24 07:30
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
0 registered members (), 1,459 guests, and 9 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19058 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Checking other ph ent's stats #15847
06/25/03 12:57
06/25/03 12:57
Joined: May 2002
Posts: 757
NY, USA
GhostDude Offline OP
Developer
GhostDude  Offline OP
Developer

Joined: May 2002
Posts: 757
NY, USA
How would you be able to check the physics stats of a physics entity, such as mass and elasticity? For example, if two entities collide and they need to check each other's mass, how would you do this? Also, how can you check if an entity is a physics entity at all? Sometimes if im not careful i get "not a physics entity" warning when using events and i think that checking before to see if the event causing entity was a physics entity would solve this problem.


Lead Programmer of Realspawn Productions AIM: gh0s7mp630 MSN: [Email]"mpratt630@hotmail.com"[/Email]
Re: Checking other ph ent's stats #15848
06/25/03 13:02
06/25/03 13:02
Joined: May 2002
Posts: 7,441
ventilator Offline
Senior Expert
ventilator  Offline
Senior Expert

Joined: May 2002
Posts: 7,441
i also needed this and solved it with skills. i think there is no better way?

my._physics=1;
my._mass=40;
...
phent_setmass(my,my._mass,ph_box);

if(you._physics==1)...

Re: Checking other ph ent's stats #15849
07/02/03 07:41
07/02/03 07:41
Joined: Jun 2003
Posts: 25
California, USA
Maxx3D A6 Pro Offline
Newbie
Maxx3D A6 Pro  Offline
Newbie

Joined: Jun 2003
Posts: 25
California, USA
Thank you Ventilator! [Smile]


-Maxx3D 3D Modeler/Animator Realspawn Productions - Ultra Line Software

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