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
player entity problem #260540
04/11/09 21:12
04/11/09 21:12
Joined: Apr 2008
Posts: 245
GameScore Offline OP
Member
GameScore  Offline OP
Member

Joined: Apr 2008
Posts: 245
i got a problem with my player entity and my gun,
if i shot the bullet will crush on the bounding box of my player,
how can i declaire the bullet to ignore the bounding box of my player entity?

hope does anyone can help me

Re: player entity problem [Re: GameScore] #260543
04/11/09 21:17
04/11/09 21:17
Joined: Jun 2006
Posts: 2,640
Earth
Germanunkol Offline
Expert
Germanunkol  Offline
Expert

Joined: Jun 2006
Posts: 2,640
Earth
if the bullet is a model, then
in the bullet's action set:
my.push = 5;
an in it's
c_move function set the mode IGNORE_PUSH
in the player's action set:
my.push = 4;

if the bullet is a c_trace
before the c_trace do:
you = player;
and then in the c_trace use the mode IGNORE_YOU.

Last edited by Germanunkol; 04/11/09 21:18.

~"I never let school interfere with my education"~
-Mark Twain
Re: player entity problem [Re: Germanunkol] #260549
04/11/09 22:06
04/11/09 22:06
Joined: Apr 2008
Posts: 245
GameScore Offline OP
Member
GameScore  Offline OP
Member

Joined: Apr 2008
Posts: 245
cool, works perfect
tnx for your great answer


Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

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