Gamestudio Links
Zorro Links
Newest Posts
M1 Oversampling
by 11honza11. 04/26/24 08:32
MT5 bridge not working on MT5 v. 5 build 4160
by EternallyCurious. 04/25/24 20:49
Data from CSV not parsed correctly
by EternallyCurious. 04/25/24 10:20
Trading Journey
by howardR. 04/24/24 20:04
Zorro FIX plugin - Experimental
by flink. 04/21/24 07:12
Scripts not found
by juergen_wue. 04/20/24 18:51
zorro 64bit command line support
by 7th_zorro. 04/20/24 10:06
StartWeek not working as it should
by jcl. 04/20/24 08:38
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (Quad, EternallyCurious, 1 invisible), 852 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Mega_Rod, EternallyCurious, howardR, 11honza11, ccorrea
19048 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