Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Collision with liquid
Mackiiboy Offline
Member

Posts: 101
Threads: 7
Joined: Jan 2012
Reputation: 11
#1
Collision with liquid

I have been bug testing my map and encountered some interesting phenomena with liquid. Some entities that collides with liquid, bounces up and down for an eternity like the first image. Some entities, for example a dead pig, freaks out totally, flying around in the air and changing its shape like the second image.


[Image: DZRCw2jDZ3BnZfBb500FUu9b.png]

[Image: 0QMTiMDpOI4xRlORU8XNgh4.png]

Since this is not kinda realistic, I am trying to get rid of this problem. I know that some entities does not have this behavior, like barrels etc. The question is which settings entities that works good with liquid has.
If you know, please make a comment. Otherwise I can just remove the liquid-areas to get rid of the problem. Shy
04-01-2012, 11:31 AM
Website Find
zombiehacker595 Offline
Member

Posts: 141
Threads: 51
Joined: Mar 2012
Reputation: 3
#2
RE: Collision with liquid

after looking at that pig i would say just get rid of the water lol Smile
(This post was last modified: 04-01-2012, 12:11 PM by zombiehacker595.)
04-01-2012, 12:11 PM
Find
flamez3 Offline
Posting Freak

Posts: 1,281
Threads: 48
Joined: Apr 2011
Reputation: 57
#3
RE: Collision with liquid

You could just put a block_box over it

Entites-> technical-> block box.

04-01-2012, 12:12 PM
Find
Datguy5 Offline
Senior Member

Posts: 629
Threads: 25
Joined: Dec 2011
Reputation: 12
#4
RE: Collision with liquid

(04-01-2012, 12:12 PM)flamez3 Wrote: You could just put a block_box over it

Entites-> technical-> block box.
I was thinking exactly that same D: But then you ninjad me : (

04-01-2012, 01:57 PM
Find
Mackiiboy Offline
Member

Posts: 101
Threads: 7
Joined: Jan 2012
Reputation: 11
#5
RE: Collision with liquid

(04-01-2012, 12:12 PM)flamez3 Wrote: You could just put a block_box over it

Entites-> technical-> block box.
.
What will the block_box do?
I tried one and it does not seem to affect entities at all, just the player. A block_box_nonchar however, blocks both the player and entities, but then the entities wont be able to collide with the liquid at all which was not exactly what I was looking for, then it would be easier to select the collide-box [] on the waterplane.
If I have done something wrong with the block_boxes, please tell me.

If you check an article about the Entity Preview window @ Frictional Games Wiki, ya'll see that it's possible to check how an entity behaves in liquid in the ModelEditor. I tried to use the same settings as for a barrel for some entities with the preview mode, but they did not get any "good" behavior, they continued to bounce up and down. So, the thing I want to do is make it possible to make an entity to either sink or float when it collides with liquid, not bounce. I can't understand why the barrel works so good, but I will continue with the ModelEditor 'till I find out something or if you come up with something cool Shy .


04-01-2012, 02:44 PM
Website Find
Khyrpa Offline
Senior Member

Posts: 638
Threads: 10
Joined: Apr 2011
Reputation: 24
#6
RE: Collision with liquid

you can change the settings of the liquid area in level editor too. Like setting the wave intensity to low. Play around with the settings, it could fix the problem with some entities.

04-01-2012, 04:54 PM
Find
Mackiiboy Offline
Member

Posts: 101
Threads: 7
Joined: Jan 2012
Reputation: 11
#7
RE: Collision with liquid

(04-01-2012, 04:54 PM)Khyrpa Wrote: you can change the settings of the liquid area in level editor too. Like setting the wave intensity to low. Play around with the settings, it could fix the problem with some entities.
.
I'll try that, thanks Shy


04-01-2012, 05:47 PM
Website Find




Users browsing this thread: 1 Guest(s)