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
0 registered members (), 1,012 guests, and 8 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
EMASK with PHYSICS #402107
05/30/12 07:02
05/30/12 07:02
Joined: May 2012
Posts: 4
R
Raithe Offline OP
Guest
Raithe  Offline OP
Guest
R

Joined: May 2012
Posts: 4
Hi first of all thanks for viewing this topic and yes i ' am new ... but have programmed with many object orientated languages in the past the eye catching thing with g studio 8 was the physics and offcourse the shaders but the problem i'm with my current project a fps that uses the physics engine is ... something so small but I cant get a grip .... is the emask functions im sure that it turns of with the physics engine is open the game runs smoothly steps ramps crouching etc... SO i have my ( gun ) lets say pistol located on the floor of the cube physics work perfect ... Now I want the player to pick up the gun I was successful with the pXent_setcollisionflag and then running a event after the funtions EX : pick funtion or whatever so please....
WORKS GREAT PLAyer picks up gun adds to inventory.

BUT LETS SAY : there are two weapons pistol and shotgun I want to pick up the pistol instead but I collide with both and pick up both so I want you to be able to use the reticle to idepntify the item maybe a display of This item is a pistol etc
then on key e pick up also with a distance to the object within lets say 200 steps

this could be done with emask but I tryed and it fails does nothing as per without engine it works.... so ... what could I do to detect if mouse hovers over gun? kinda like the workshop mouse function but with physics engine enabled to give it a oblivion fallout feel or like games with doors and you have to press E"? i know its redicolouse question but any info or help would be very appreciated.

Re: EMASK with PHYSICS [Re: Raithe] #402151
05/30/12 17:06
05/30/12 17:06
Joined: Mar 2012
Posts: 927
cyberspace
W
Wjbender Offline
User
Wjbender  Offline
User
W

Joined: Mar 2012
Posts: 927
cyberspace
look at lite-c workshop or manual on c-trace
rather than other stuff ,you could also use physx tracing
if it be desired ,ar maby someone will dump some tracing code
here for you ,its pretty simple stuff ,well when you know
theres a tracing function anyway


Compulsive compiler

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