Gamestudio Links
Zorro Links
Newest Posts
Blobsculptor tools and objects download here
by NeoDumont. 03/28/24 03:01
Issue with Multi-Core WFO Training
by aliswee. 03/24/24 20:20
Why Zorro supports up to 72 cores?
by Edgar_Herrera. 03/23/24 21:41
Zorro Trader GPT
by TipmyPip. 03/06/24 09:27
VSCode instead of SED
by 3run. 03/01/24 19:06
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (Edgar_Herrera, VoroneTZ, Akow), 973 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sakolin, rajesh7827, juergen_wue, NITRO_FOREVER, jack0roses
19043 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 3 of 3 1 2 3
Re: physics in water #15730
05/29/03 16:06
05/29/03 16:06
Joined: Mar 2002
Posts: 575
Saxony, Germany
Guido_Richter Offline
Developer
Guido_Richter  Offline
Developer

Joined: Mar 2002
Posts: 575
Saxony, Germany
Marco, as you know maybe, I'm working together with Doc_Joe.So I know that the warlock must become invisible.Thats not a bug. [Wink]


Guido Richter Foppsoft Developments Wetterpool.de (German weather site) [work:] { not using 3DGS anymore }
Re: physics in water #15731
05/30/03 04:02
05/30/03 04:02

A
Anonymous OP
Unregistered
Anonymous OP
Unregistered
A



quote:
Originally posted by ventilator:
i guess this mattress effect could be done with the new bonerotate commands and some invisible cubes connected with hinges.

If I had the demo (in order to break it) I could probably tell you how they have done that [Wink]
My guess is that they are using a simple cloth (mass-spring) system extended to 3 dimensions (as opposed to 2 for the regular cloth grid)- then just move the corner vertices, contract the springs, and interpolate the intermediate vertices. Similar to what you were suggesting with bones and invisible cubes.

quote:
i tried it right after seeing the halflife2 video but it was trickier than i thought. it would be easier if all physics entities (not only constraints) had motors. or do you think i should just turn off physics for the object while holding it with the grav-gun?
I would estimate the target position of the object using the current view vector scaled by the object's initial distance. Then take the difference between that target and the object's current location, scale this by the object's mass and framerate and use this scaled difference as parameter for addcentralforce. So basically you just add linear force correction whenever the object is not where it's supposed to be. It seemed like the Valve guys used a number of rods connected via (motorized) ball joints, similar to what you did with the crane. But that might be overkill. Of course that's all just physics- the important part is finding the right flare bitmaps [Wink]

Re: physics in water #15732
05/30/03 04:04
05/30/03 04:04

A
Anonymous OP
Unregistered
Anonymous OP
Unregistered
A



quote:
Originally posted by Devilery:
Marco, as you know maybe, I'm working together with Doc_Joe.So I know that the warlock must become invisible.Thats not a bug. [Wink]

It was hard to tell- how about fading him out instead or do some spell casting if hit? [Big Grin]

Re: physics in water #15733
05/30/03 15:34
05/30/03 15:34
Joined: May 2002
Posts: 7,441
ventilator Offline
Senior Expert
ventilator  Offline
Senior Expert

Joined: May 2002
Posts: 7,441
quote:
Then take the difference between that target and the object's current location, scale this by the object's mass and framerate and use this scaled difference as parameter for addcentralforce.
this is what i tried. the problem is that the object oscillates back and forth at the target a little too extreme. maybe i should try to increase damping or something like that if the entity gets closer to the target.

Re: physics in water #15734
05/30/03 20:11
05/30/03 20:11
Joined: May 2002
Posts: 7,441
ventilator Offline
Senior Expert
ventilator  Offline
Senior Expert

Joined: May 2002
Posts: 7,441
yes! the gun increases damping now and that improved it! my gravitation-gun works now! [Big Grin] -> physics_demo.zip (right mouse button -> gravitation gun)

it isn't possible to shoot the entity like in halflife2 yet. i will add this later, this is just the first working version...

i think i read something about an undocumented ph_trace command somewhere? i would need that now. is this ph_trace the same as the new c_trace from the beta.txt?

Re: physics in water #15735
05/31/03 03:22
05/31/03 03:22

A
Anonymous OP
Unregistered
Anonymous OP
Unregistered
A



Great demo, as usual. It's so much easier to move stuff with the gravity gun that it is with the crane. [Wink]
I am not sure about the 6.0 ph_trace implementation. The current beta and all future releases will use c_trace(vecfrom,vecto,trace_mode) for accurate tracing.

I guess the next big challenge will be to create a jointed humanoid, arachnoid, etc.

Re: physics in water #15736
05/31/03 03:33
05/31/03 03:33
Joined: Oct 2001
Posts: 1,407
Helsinki, Finland
Phantom88 Offline
Expert
Phantom88  Offline
Expert

Joined: Oct 2001
Posts: 1,407
Helsinki, Finland
quote:
Originally posted by Marco Grubert:
I guess the next big challenge will be to create a jointed humanoid, arachnoid, etc.

UUUHUH!! Rag-doll physics! [Wink] Can't wait to push that warlock over a cliff [Wink]
Can't wait till i get the new beta, so i can have many physics objects...

~Phantom88~


Programmer, Gamer ICQ #: 157485106 | Xfire: Phantom1988 | MSN: lauri_andler@hotmail.com | AIM: FinPhantom | YAHOO: FinPhantom
Page 3 of 3 1 2 3

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