Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, dr_panther), 821 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Entity moving with mouse and keyboard using PhysX #438717
03/20/14 15:16
03/20/14 15:16
Joined: Jul 2013
Posts: 34
Nagykanizsa
Robogamer Offline OP
Newbie
Robogamer  Offline OP
Newbie

Joined: Jul 2013
Posts: 34
Nagykanizsa
Hello,
Can anyone give me a program code of the following: When I press E with the mouse cursor on an entity, the game picks it up, so we can move it with the mouse and with WASD keys. But when we press left mouse button, the game drops the entity away. Or if we press E again, the game puts the entity down. It's like in Half-Life 2. So, if anyone could give me a program code for this, I would be very thankful.

Last edited by Robogamer; 03/20/14 15:17.
Re: Entity moving with mouse and keyboard using PhysX [Re: Robogamer] #438732
03/20/14 16:17
03/20/14 16:17
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Superku Offline
Senior Expert
Superku  Offline
Senior Expert

Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Quote:
Hello,
Can anyone give me a program code of the following:

Most likely not. You can however try to do this on your own and ask for questions if you encounter specific problems with your implementation. Alternatively, pX_pick() may be a starting point.


"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends
Re: Entity moving with mouse and keyboard using PhysX [Re: Superku] #438794
03/21/14 15:00
03/21/14 15:00
Joined: Jul 2013
Posts: 34
Nagykanizsa
Robogamer Offline OP
Newbie
Robogamer  Offline OP
Newbie

Joined: Jul 2013
Posts: 34
Nagykanizsa
So, I have to do this on my own. Maybe I've asked too much. Thanks anyway!


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