How to make the player move their arms using Obfuscate

Started by CaiGuyCrafter on Mon, 04/19/2021 - 19:30

Topic category: Help with modding (Java Edition)

Last seen on 00:29, 25. May 2022
Joined Dec 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How to make the player move their arms using Obfuscate
Mon, 04/19/2021 - 19:30

Okay, so I know now how to detect when the player is sprinting, but now using Obfuscate I want to know how to continuously make the user stick his arms out while he's running. When I did this, it did not work:

If: is (event/target entity) sprinting

do: set the (rotationpointX) for bipedRightArm to ___

      set the (roationpointX) for bipedLeftArm to ___

else: set the (rotationpointX) for bipedRightArm to (0)

        set the (roationpointX) for bipedLeftArm to (0)

(I put unerscores because I don't know what to put here. I also don't know what the rotation point should be. e.g: should the rotationpointX be rotationpointY, rotationpointZ, etc.?) 

Please, someone help. Thanks!

Last seen on 00:29, 25. May 2022
Joined Dec 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Its been a few days, does…
Thu, 04/22/2021 - 00:23

Its been a few days, does any one know how I could do this? Sorry for the bump

Last seen on 04:00, 9. Apr 2022
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
try 90 or -90 where the…
Sat, 01/08/2022 - 04:17

try 90 or -90 where the underscores are. Keep it on rotateX, doing something else would break it (y would make the arms flip to the side, z would make it look as if the player were sticking their arms through their body)

Last seen on 04:00, 9. Apr 2022
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
i think rotationPointX…
Sat, 01/08/2022 - 04:18

i think rotationPointX controls where the point of rotation is