Aiming icon indicating copy to clipboard operation
Aiming copied to clipboard

How to add an prediction

Open Silly53 opened this issue 2 years ago • 3 comments

I have an issue with the Silent aim prediction, in one point says:

-- // Modify the position/cframe, add prediction yourself (use Aiming.Selected) function Configuration.ModifyCFrame(OnScreen) return OnScreen and AimingSelected.Position or AimingSelected.Part.CFrame end

I want to know how to Modify the Prediction

Silly53 avatar Jul 05 '23 17:07 Silly53

You can see how it's used here.

The first return value is the predicted position on screen while the second is the predicted position in 3D.

Stefanuk12 avatar Jul 06 '23 05:07 Stefanuk12

You can see how it's used here.

The first return value is the predicted position on screen while the second is the predicted position in 3D.

So, i need to change these parameters to Aiming.Selected? or i just need to put them in true

Silly53 avatar Jul 06 '23 19:07 Silly53

For example:

return wts(PredictedCFrame.Position), PredictedCFrame

wts stands for WorldToScreen, you'll have to create your own implementation.

Stefanuk12 avatar Jul 06 '23 20:07 Stefanuk12