#Grab Move System

1 messages · Page 1 of 1 (latest)

barren rune
#

Does anyone know if there's a way to make a Grab Move System? Making a game about caving and would like to have something like that.

trail scaffold
#

How does that work

trail scaffold
barren rune
#

Its like when you scale yourself with the makerpen and can grab around you, sort of pulling yourself to a location. That's the best way I can explain it.

trail scaffold
#

So like when climb walls you move but without walls

barren rune
#

Sort of, I was envisioning it like climbing, but also horizontal. I do want collision.

trail scaffold
barren rune
#

Basically yes, climbing on all axis if you will..?

#

Think of it like dragging yourself across a surface with your hands, that's what I'm looking for.

trail scaffold
barren rune
#

Im not sure how to describe it, you can grab on any surface and move yourself? I'm not entirely sure what you mean, sorry.

trail scaffold
#

Okay so if that's the case then, you could have a climbable invisible collision follow each players hand so when you grab you climb/move

barren rune
#

Thank you, good to know!

trail scaffold
green pelican
#

I will try that (hi. I'm the guy who will do the circuits for the game) but in case it doesn't work (because I don't know how collision would work with this-) any other ideas?

trail scaffold
green pelican
#

Tbh I forgot about that chip even though I used it this week-

#

I'll try the first one and mess with the second if needed.

trail scaffold
#

K

green pelican
#

I tried the first idea and found a few issues. First, I can't take away regular movement completely because if I turn it off using a role, it takes away the ability to climb. Second, when you grab the invisible collision, it forces you to stand up which would cause problems while in the tight cave. Third, I don't think you can climb on things without collision so there would be a possibility of moving yourself or other players by putting your hand in their collision.

#

Attempting the other idea.

#

Also @barren rune will there be places you can stand in?

#

Need to know do I can edit it for that-

barren rune
#

Yes

trail scaffold
green pelican
green pelican
#

Also I need to know how to move someone's body sk they're hand is in a specific position.

#

I have a system that saves the position of the hand when the system starts

trail scaffold
#

Add velocity

green pelican
#

Yes but how do i get the direction. Also I'm using set transform

trail scaffold
#

Get the velocity of the first hand that is closed, and it's inverse direction

green pelican
#

Then do what with them?

trail scaffold
#

That's the direction

green pelican
#

Ok but what about set transform? Velocity is speed. I'm moving them to a place

trail scaffold
#

I don't think using set transform is a good idea but if u want to use it then you'll have to do it a slightly diff way

trail scaffold
#

Or object

#

With set transform, just teleports the target

green pelican
#

So just make them go towards a point constantly? Even then I need to know the position to bring them to.

trail scaffold
#

Even if it's minimal positions, I think it'll be a bit more simpler for the other idea.

#

That's why add velocity would be better imo. But since you're doing set transform.. you need your target position.

#

Could just use Set position instead of transform

#

Rotation doesn't matter in this situation right? You just need to move the players position and keep it's rotation?

green pelican
# trail scaffold Heweo?

I kinda just threw a few chips in the room and connected them differently until I got a working system. In the end I was right and the velocity add/set chip was not a good idea as it felt weird and made the movement "jiggly" so I used an update event with a set position. The only issue is that it prevents the player from turning their head so I might have to find a way to use the set transform chip instead.

trail scaffold
trail scaffold
dense bay
#

For screenies maybe you could try using a raycast whenever they're in this climbing mode to get the surface they're looking at and put an interaction volume there. Whenever they grab it, set a variable to that position minus their own position (or maybe their head position would feel more natural, especially if you scale down the surface normal from the raycast a little and add that, making the position you push them towards not aaaactually right up against the wall) and set their velocity to that. This makes it so that every time they grab, they are pushed towards where they grabbed.

#

For VR players you should do the position of their hand when it closed minus the current position of that hand. Instead of automatically pulling you to it like it would with the screenies system, this would allow VR players to manually pull themselves up, constantly trying to readjust them so that their hand remains in the same place.

#

Do be prepared for the players' torso collision to give you trouble though, it always sucks dealing with that 😬

trail scaffold
trail scaffold
dense bay
trail scaffold
#

Yeah

trail scaffold
#

I'd appreciate if you respond asap

trail scaffold
#

Did some testing with things

trail scaffold
#

Please get back to me I spent time on this

trail scaffold
#

I'm curious whatcha think about it

dense bay
#

For the smoothest Velocity Add-ing it's a good habit to multiply the delta time into that somewhere, otherwise it's pretty good! Some of the size just straight up can't be helped in Rec Room because the whole dominant hand thing is kinda sucky 😬 I personally use Xor chips with it and stuff like the hand pointing/closed detection to save on a chip or two,but i don't know what it is—something about xor chips is just super incompatible with my brain and i always struggle with how to think about things connected to them 😆

#

For grab-climbing stuff i don't know if i've ever tried using hand velocity for it, does it physically perform well? In the past i've only tried systems of getting the position i've grabbed and used velocity to push me towards a position where my hand will always be where they were when i grabbed

trail scaffold
trail scaffold
#

I appreciate the feedback! I was thinking about adding Delta time, but I figured the slightest movement from that players hand would be enough to move you as well. Even if it's just very minimal.

#

There's plenty of room for messing around in it lol

green pelican
# trail scaffold Did any of that help?

First, no idea what time it is where you are but it's 2 am here so I'm not responding after this. Second, I haven't been online much to test things. I have been looking at this post but I don't know yet. Nothing with the system has changed. Still need collision and a way to make sure the player's hand is close enough to a surface. Also I'm pretty sure this will be a VR only game so we don't need to worry about screenies.

trail scaffold
frigid spear
frigid spear
#

@green pelican

#

its a bit janky but is this what you are trying to do

knotty shoal
#

Pluh just get a sphere cast and ignore players and if hit something and players hand is closed set player velocity to that closed hands velocity