Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/20/24 01:28
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (kzhao, AndrewAMD, bigsmack), 824 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
why cant i add force?? #33298
09/16/04 14:47
09/16/04 14:47
Joined: Jan 2004
Posts: 3,023
The Netherlands
Helghast Offline OP
Expert
Helghast  Offline OP
Expert

Joined: Jan 2004
Posts: 3,023
The Netherlands
here is my code:

Code:
 

function blowing_ragdoll
{
while(1)
{
if(key_space == 1)
{
phent_addcentralforce ( torso, vector(1000, 0, 0) );
}
wait(1);
}
}



now when i press space nothing happens to my model..

how can i come around this??
TIA and regards,


Formerly known as dennis_fantasy
Portfolio - http://www.designorhea.com/
Project - http://randomchance.cherrygames.org/
Re: why cant i add force?? [Re: Helghast] #33299
09/17/04 20:39
09/17/04 20:39
Joined: Dec 2001
Posts: 941
England
LoneWolf Offline
Developer
LoneWolf  Offline
Developer

Joined: Dec 2001
Posts: 941
England
Have you tried increasing the force value? I find it has to be a very high value but it depends what you set the mass etc to


Wolfpack Software (www.wolfpacksoftware.com) A catalyst in the evolution of games Available for paid work
Re: why cant i add force?? [Re: LoneWolf] #33300
09/17/04 20:41
09/17/04 20:41
Joined: Jan 2004
Posts: 3,023
The Netherlands
Helghast Offline OP
Expert
Helghast  Offline OP
Expert

Joined: Jan 2004
Posts: 3,023
The Netherlands
lol, ty, i allready worked it out

regards,


Formerly known as dennis_fantasy
Portfolio - http://www.designorhea.com/
Project - http://randomchance.cherrygames.org/
Re: why cant i add force?? [Re: Helghast] #33301
09/18/04 11:54
09/18/04 11:54
Joined: Sep 2003
Posts: 3,236
San Diego, CA
M
Marco_Grubert Offline
Expert
Marco_Grubert  Offline
Expert
M

Joined: Sep 2003
Posts: 3,236
San Diego, CA
Remember that applying a force for a single frame can be a very short span of time depending on framerate. Increasing the force or lowering the object's mass is one option (not recommended), applying a smaller force over a period of time is the better alternative.


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