I’ve been wondering lately how I would make a blackhole type effect that pulls the player to where the blackhole is can I have some help?
Perhaps, you can use the Line Force constraint the player towards the black hole LineForce | Documentation - Roblox Creator Hub
1 Like
Gravity is a constant force, and constant force is constant acceleration. I would personally use ApplyImpulse()
to base the effect around, heres some psuedo-code as an example:
local Force = 100
Part:ApplyImpulse( (CenterOfBlackhole - PlayerPosition).Unit * Force )
--find the direction that the part needs to go, then apply the force
Technically gravity is not constant, as it diminished the higher you go upward. But the effect is so negligible between thousands of feet, that its simpler to consider it one.
Hope this helps!