Is it possible to make AssemblyLinearVelocity faster?

Hello!

The name of this Topic may be confusing but here is explanation.
So I was wondering if it’s possible to make AssemblyLinearVelocity faster.
As the example we will give pogo stick.
The Player is on ground (0 meters) and the AssemblyLinearVelocity is set to Vector3.new(0, 1000, 0).
It should take us to 2600 meters but in few seconds.
If player Jump Speed is upgraded the jump time decreases but it’s still get us to the exact same spot (2600 meters).

It’s hard to explain, but there is some extra:
Before:
Player Jump Speed Level: 1
AssemblyLinearVelocity is set to 1000 in Y axis.
Time to reach the 2600 meters: ~5 seconds.

After:
Player Jump Speed Level: 5
AssemblyLinearVelocity is set to 1000 in Y axis.
Time to reach the 2600 meters: ~3 seconds. (faster)

Increase velocity and gravity.

Player will get higher and I don’t want that.
Let’s say it’s something like typical mobile game.
Player has Power, Speed and Income upgrades.
Player has a lot of power and max height he can get is 2600 meters.
It takes him 5 seconds to reach the top.
He upgraded Speed and it should take him less time to reach the top (2600 meters)

Try multiplying it, for ex:

Part.AssemblyLinearVelocity *= 1.5

Note: you will have to manually detect humanoids state, when its freefall (player is in the air) you should multiply it, or, you can do jump fully based on velocity, so when you check humanoids state on a loop, if state equivalent to jump, you set it to false or just cut off jump power, and add velocity, if its a little confusing, ask me thing you did not understand, ill try to break them down

You increse velocity => higher altitude
You increase gravity => lower altitude + faster velocity extinction

With some math you can get good results.

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