Gamestudio Links
Zorro Links
Newest Posts
ZorroGPT
by TipmyPip. 02/27/26 22:06
WFO Training with parallel cores Zorro64
by Martin_HH. 02/26/26 16:03
Zorro version 3.0 prerelease!
by TipmyPip. 02/25/26 16:38
Camera always moves upwards?
by clonman. 02/21/26 09:29
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 02/19/26 13:22
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (Grant), 5,476 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
the1, alx, ApprenticeInMuc, PatrickH90, USER0328
19200 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 | 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