Welcome on MasterOf13FPS! MasterOf13FPS

Register today or sign up if you are already a member and never miss any cool content again :)

(Killaura) AAC4 / Intave (Instant) Rotations

IxoO

New member
Joined
Nov 11, 2021
Messages
1
Reaction score
1
Points
0
you may have to change "antiPatternSpeed", "antiPatternRadius" and "jitter"

tested in on mc-gamster for intave and poke for aac/aacp

you may have to block mouse input...


Java:
float[] rotationTarget = getRotationFromPosition(targetPosition);
float deltaYaw = Util.getDeltaAngle(mc.thePlayer.rotationYaw, rotationTarget[0]);
float deltaPitch = mc.thePlayer.rotationPitch - rotationTarget[1];

//apply smoothing here:
//deltaYaw *= 0.5f
//deltaPitch *= 0.5f

int jitter = 1;
deltaYaw += Math.signum(Math.random() - 0.5f) * jitter;
deltaPitch += Math.signum(Math.random() - 0.5f) * jitter;

// optional 
//float antiPatternSpeed = 0.3f;
//float antiPatternRadius = 4;
//deltaYaw += Math.sin(pl.ticksExisted*antiPatternSpeed) * antiPatternRadius;
//deltaPitch += Math.cos(pl.ticksExisted*antiPatternSpeed) * antiPatternRadius * 1.5f;
        

//important part
mc.thePlayer.setAngles((int) (deltaYaw*6.66f) , (int) (deltaPitch*6.66f));
 
Hey There!

I am new to coding and stuff and probably a kind of skid lmao.

Is it able to get Util.getDeltaAngle?

I want to see rotations in action and I'll try to improve/change them.
 
shape1
shape2
shape3
shape4
shape5
shape6
Back
Top