#dash linear velocity problem

1 messages · Page 1 of 1 (latest)

cunning needle
#

One message removed from a suspended account.

rocky spoke
cunning needle
#

One message removed from a suspended account.

rocky spoke
#

they're probably shooting a ray every frame

#

and

#

if it hits

#

it'll bounce off based on the normal

#

which is why it glides around the enemy like a ball instead of standing still

ember raft
rocky spoke
#

do you not know how optimized rays are

#

💔

cunning needle
#

One message removed from a suspended account.

rocky spoke
#

yes

rocky spoke
ember raft
cunning needle
#

One message removed from a suspended account.

rocky spoke
#

how do you think raytracing works in other games you play outside of roblox? obviously they implement some extra optimization but it really doesn't change the main concept

#

ray optimization is directly affected by currently visible geometry

#

the more parts you have rendering in your viewport the more heavy a ray impacts performance

rocky spoke
#

probably yeah

ember raft
#

Makes sense gotcha

rocky spoke
#

heartbeat is based on physics step

#

renderstepped is based on frame

#

which will give more accuracy

#

renderstepped and stepped are the same thing btw

cunning needle
#

One message removed from a suspended account.

#

One message removed from a suspended account.

ember raft
rocky spoke
#

false

#

heartbeat is per physics step

#

30hz

#

from what i remember its either 30 or 60hz

ember raft
rocky spoke
ember raft
#

Stepped and RenderStepped I believe are not the same

rocky spoke
#

they are

#

stepped runs on older technology

#

but you get the same result nonetheless

ember raft
rocky spoke
#

they are because the result is the same

ember raft
#

Same argument for wait and task.wait in that case…

rocky spoke
#

not really

#

task.wait has more optimizations

ember raft
#

Well yeah one uses the task scheduler

rocky spoke
#

yeah

ember raft
#

But still same result

#

One just uses older technology

#

rocky spoke
#

im p sure stepped also has runtime as the first paramater instead of dt

#

its like runtime, deltatime

#

instead of deltatime

#

very very negligible

#

@cunning needle figured it out?

cunning needle
#

One message removed from a suspended account.