Gamestudio Links
Zorro Links
Newest Posts
loading historical data 1st time
by AndrewAMD. 04/14/23 12:54
Trade at bar open
by juanex. 04/13/23 19:43
Bug in Highpass2 filter
by rki. 04/13/23 09:54
Adding Limit Orders For IB
by scatters. 04/11/23 16:16
FisherN
by rki. 04/11/23 08:38
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
3 registered members (AndrewAMD, Grant, Neb), 908 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rki, FranzIII, indonesiae, The_Judge, storrealba
18919 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