Seat help and physics

Hey,

So, I have had some issues with my current ski lift in Roblox studio, it all works and is connected by some blocks in a hook shape over a ‘power line’, which is connected to a script to give it a velocity and movement.



Thats how I have connected it there is no attachments.
I am also not the best at scripting so if you tell me that I should you ray casting or CFrames I have really no idea.


However, the main issues are:

  • When you sit in the lift the chair sometimes detaches as seen below
  • When getting of the lift it detaches

Anyone have an idea how I can fix it?

:camera: - An example below of it falling of:
robloxapp-20231221-1214556.wmv (2.6 MB)


:information_source: - Note:

I’m very dyslexic and my writing is terrible if you don’t understand what I’m saying I can explain it again or need more information I am more than happen to give some.

Many thanks,

Tom

3 Likes

can you show the script that handles getting on and off and the movement script

1 Like

Sure,
The movement script on the line.


The seat has no script is a normal seat with weld constraints
image

1 Like

I’m not sure why it is breaking apart. It is connected by physics?

1 Like

yes its connected by physics its connect by a hook on top of the line would you recommend any other way of doing a ski lift?

1 Like

Can you send video of the bugs and it working?

1 Like

Theres one in the first post its the link to download the .wmv file, ill make another now though

Ill just convert it to mp4
skip to 0.8s

1 Like

Well, you didn’t actually attach it. You should put it on some form of a constraint; perhaps a rod constraint. Then add attachment to the chairs and the end of the lift.

0295bef9b958ffd2de77d93692f12f27

2 Likes

I think that since Robloxs physics engine is made this way, it does this.

Sorry for a late response.

2 Likes

No worries thanks anyways for the help

2 Likes

Thank you so much for the help, but the only issue is there is a lot of different angles and a turn at the top, so it goes in a loop, and this is my first term ever using anything else other than an attachment of a light, rope, weld or Gui so its slightly confusing how I do it.

So do I basically connect the line above my head with a rod to each point and connect it to the cart?

My attempt:


If I don’t get it working I guess Ill just have NPCs riding it and it will tp you to the top which is a bit sad :joy:

1 Like

You’ll probably need to make use of AlignOrientation, which (afaik, I don’t work with physics objects ever) will maintain the relative orientation of the cart on for example the Y axis,

1 Like

This is soooo difficult to do, do you know of any models with an example? which I could use to copy from

Ill look on youtube and documentation for the time being, plus I will go to the talent hub and see if I can get someone to fix it

1 Like
1 Like

thank you so much for your help

1 Like

Hey, I have been unable to do it,

Do you know anyone which could help, Ik its Xmas eve and I had tried the talent hub 2 days ago and the 2 people who got back to me 2 days ago are no longer responding

Here is the model link
SkiCabelAndCart-Physics - Creator Marketplace (roblox.com)

I removed any unnecessary details to the cart to make it easier for a person to fix the physics

1 Like

I know next to nothing about physics objects. You’re better off programming it, if you ask me, lol. Easier still, you could just animate it…

1 Like

I nether though of that animating it thankyou Ill give it a go but then it needs to be a rig, Ill look on youtube to programme it if that doesn’t work

1 Like

Yep, it’d need to be a rig; I haven’t ever worked with non-humanoid rigs but I assume it can’t be that difficult. I think there’s a guide on developer.roblox.com

2 Likes

thankyou so much, I just finished it

I decided to script it


It took a while but its safe as the ownership is server side so no hackers can fling it around

1 Like