How to make player massless? (4)

Hey

This is about the elevator again lol

So I started using AlignPosition to make the elevator move up and down, which is working fine, it’s just one problem.

Since the player is “really heavy”, the player can’t even stay on the elevator without it bouncing up and down. How would I fix this?
How would I make the player not as heavy as it was, and make the elevator stay in its normal position?

Let me know.

dont use alignPosition :skull:

then what should i use instead

i tried BodyVelocity, it just flings me and the elevator everywhere. The same thing happens with LinearVelocity.
So this is my only hope for now :sob:

Never use BodyVelocity lmao

use your own physics, or literally tween the positions.

i lowkey forgot how to tween because i dont want the elevators position to like slowly go into another parts position

i want the the tween to just be quick, with no slowing down or anything if you know what i mean

Okay. Set up a tween with Linear easing style. Heres a template:


local info = TweenInfo.new(
	1 or (seconds you want),
	Enum.EasingStyle.Linear,
	Enum.EasingDirection.InOut,
	0,
	true,
	0
)

Another thing, the player body does have a massless option if you REALLY want to do that (not recommended)

You should use PrismaticContraints for your elevator.

What is a PrismaticConstraint gonna do to the elevator?

Your seem new as developer consider checking the roblox documentation, also try to learn all the basic on youtube(recommended devking) or documentation

how am i new when somebody who gives me the recommendation can’t even explain it to me? lol

but nah im not new, just never used this constraint before
thank you for your recommendations too

1 Like

I think the best option for you right now is to use TweenService and set the easing style Linear( it move immediatly without slowing effect ). But if you wanna use a constraint instead, try using Prismatic Constraint. Roblox Has it covered how to make elevator on Documentation Tutorial :

Creating Elevators | Documentation - Roblox Creator Hub

Also if you have anything that you don’t know try looking up on Documentation first or youtube

1 Like

uhhh, this is embarrasing again…

so when i test the elevator out that uses bodyposition in the actual game, it works perfectly fine. but when i go to test it out in studio, its all buggy and stuff. so there really isn’t no coding issue, just technological issues. sorry for wasting your time.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.