#screen shake

17 messages · Page 1 of 1 (latest)

hallow pendant
#

im trying to make it so where the closer a player is to a targetted object. the more the screen shakes

fading shadow
#

And does the targeted object change throughout the game or is it like a horror game with like that one or two monsters

#

Assuming it's like one targeted object at a time

#

you can get the (HumanoidRootPart.Position-object.Position).Magnitude

#

And increase the camera shake as that number increases

#

With some math

#

There's like a divisor in the camera shake in the video

#

So just divide that divisor buy the magnitude to decrease it

#

So the camera shake is more pronounced

hallow pendant
#

its like a doors game

#

and i want it to target the object

hallow pendant
fading shadow
#

Watch the tutorial

hallow pendant
#

i did