Please or Register to create posts and topics.

[WIP] Sticky Gel Test

PreviousPage 7 of 8Next

I'll try to explain in a similar format:

Explanation

Spoiler
The triggers to detect the gel blobs contain Euler angles to rotate the world to. When gel hits them they activate a second trigger to detect the player (and deactivate it if they sense water).

When the player touches one of those triggers, everything is either parented to the world or has a "marker" target parented to the world, then the script rotates the world to the Euler angles given by the initial trigger.

Then everything is unparented, and things with markers are teleported to their markers' position and angles (right now this is just the player and portals, but it could be used for other entities if necessary).

There's a bit of additional logic to make sure any projectors and world portals are disabled and enabled properly with the rotation, to update their new position, but that's the gist of it.

As the triggers themselves contain the angles, and they're absolute, gimbal lock isn't an issue (but it takes a lot of trial and error to add an angle that wasn't used before, which is why right now I'm sticking to cardinal directions). It's funny--you find the angles in Squirrel and set them in Hammer, whereas I find the angles in Hammer and set them in Squirrel.

Falsi sumus crusto!

Heh, seems our implementations are pretty similar at the core of it though ^^

sicklebrick wrote:
Heh, seems our implementations are pretty similar at the core of it though ^^

Yes. Lambda's is way out there, though, I can't imagine how he got it working at all. He explained it to me a while back, but I still don't really understand it.

Falsi sumus crusto!

Lol, sounds a bit like he's parenting the player to something at 0,0,0 and rotating that?

I think it's more like a viewcontrol attached to some sort of wall-climbing construction.

Falsi sumus crusto!

hah, beautiful :D

Little update:
-Can now leave gel
-Jumping exits gel
-Can use portals fairly well.

ogePnpISpmo

Hmm, that's quite cool.

Good job, sickle.
Looks really nice and I hope you really gonna use it for a map or two. :thumbup:

[back on TWP since 08. July 2017]
Steam: DrFauli

How do other physics objects react to the gel? This implementation is really awesome.

My stuff:
[spoiler]- BEE2 Addons | (BEE2)
- Hammer Addons
Maps:
- Crushed Gel
- Gel is Not Always Helpful[/spoiler]
PreviousPage 7 of 8Next