Gamestudio Links
Zorro Links
Newest Posts
MRC.c and WFO
by 11honza11. 11/18/25 15:22
webGL
by Ice2642. 11/17/25 21:27
Camera always moves upwards?
by NeoDumont. 11/17/25 09:56
Future of ZorroHFT
by TipmyPip. 11/16/25 13:52
COT Download with Quandl does not work
by Petra. 11/15/25 09:35
Training with the R bridge does not work
by Petra. 11/15/25 09:31
Zorro 2.70
by jcl. 11/15/25 08:43
brokerCommand PLOT_HLINE parameters
by M_D. 11/13/25 10:42
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
3 registered members (TipmyPip, AndrewAMD, 1 invisible), 16,939 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
SkinnyApe, tritom, sheliepaley, Blueguy, blobplayintennis
19179 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Apply force from the player pan how? #33047
09/11/04 08:29
09/11/04 08:29
Joined: Mar 2004
Posts: 70
M
Matan_Golan_A6 Offline OP
Junior Member
Matan_Golan_A6  Offline OP
Junior Member
M

Joined: Mar 2004
Posts: 70
i tried a lot of codes trying to get it right but i field so
some one can tell me how to apply force in player dircetion


with regreds,
Matan

Re: Apply force from the player pan how? [Re: Matan_Golan_A6] #33048
09/12/04 09:11
09/12/04 09:11
Joined: Aug 2003
Posts: 275
Germany
kopitzki Offline
Member
kopitzki  Offline
Member

Joined: Aug 2003
Posts: 275
Germany
If your player is a physics entity, you may have somthing like

var vecTorque[3];
vecTorque.z=-40*mouse_force.x;
phent_addtorquelocal ( my, vecTorque );

in your player's while-loop.

Re: Apply force from the player pan how? [Re: kopitzki] #33049
09/13/04 01:24
09/13/04 01:24
Joined: Mar 2004
Posts: 70
M
Matan_Golan_A6 Offline OP
Junior Member
Matan_Golan_A6  Offline OP
Junior Member
M

Joined: Mar 2004
Posts: 70
im talking about Force not tourqe...
like if i want gun to shoot a Physic bullet...
i need to use force but when the pan cross some value its shoots the bullet Backwards


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