I've seen maps where things float in the water but most of the time this is done using distance and target object joints to suspend each object in the water. In the map I'm working on I want to be able to break of parts of the map and have them fall into the water and float (but still gib players).
Is there a way to make like a.. trampoline of sorts under the water?
Dear forum users! In compliance with the new European GDPR regulations, we'd just like to inform you that if you have an account, your email address is stored in our database. We do not share your information with third parties, and your email address and password are encrypted for security reasons.
New to the forum? Say hello in this topic! Also make sure to read the rules.
New to the forum? Say hello in this topic! Also make sure to read the rules.
Water Dynamics
Forum rules
By using the forum you agree to the following rules.
By using the forum you agree to the following rules.
-
- Fighter
- Posts: 10
- Joined: Sun Mar 20, 2016 10:45 am
- Title: 0110111101101011
- SFD Alias: chelog
- Started SFD: The first public version
- Location: Saint-Petersburg, Russia
- Gender:
- Age: 27
- Contact:
It's possible to do it with help of script adding some vertical force upwards while objects are in water zone. But that may be a little bit laggy in multiplayer.
1 x
- ShutDownMan
- Fighter
- Posts: 32
- Joined: Sat Mar 19, 2016 7:17 pm
- Title: Yeah, science!
- SFD Alias: ShutDownMan, Devil Shut
- Started SFD: 1.2.something
- Location: Hu3, Brazil
- Gender:
- Age: 24
- Contact:
Yeah, as chelog said, it can get a bit laggy...
I made the script, it works as expected for objects like crates and boxes, I think it will get really buggy for tiny objects.
Here's the map.
it's important to note that it's not flawless, but it can get a little less worse.
Also, this method was created by (R.I.P.) Gerald, on his map (never released) Citizens Versus.
Edit:
If you still wants it, here's a improved version (still not flawless), on this one it behaves better with the dynamic objects at the cost of a bit of more processing.
If you want, mess around with the variables (timer delay, joints force, rail's position, etc), maybe you get better results than me...
I made the script, it works as expected for objects like crates and boxes, I think it will get really buggy for tiny objects.
Here's the map.
it's important to note that it's not flawless, but it can get a little less worse.
Also, this method was created by (R.I.P.) Gerald, on his map (never released) Citizens Versus.
Edit:
If you still wants it, here's a improved version (still not flawless), on this one it behaves better with the dynamic objects at the cost of a bit of more processing.
If you want, mess around with the variables (timer delay, joints force, rail's position, etc), maybe you get better results than me...
1 x
~ShutDownMan