Jump to content

david476

Members
  • Posts

    238
  • Joined

  • Last visited

Everything posted by david476

  1. Thanks both of you! I'll look into the Wikipedia page! If I can't figure that out I'll get back to you Jabelar. Naiten, is there any way I could get a look at your code that does that? Thanks again!!!
  2. HI! I haven't yet gotten into trigonometry in math and need some help. In my mod I have separate entities "connected" to one. To update their positions I devised some basic trig formulas to determine their absolute position based on the location of the "center" entity, the x, y, and z offset from it at their creation, and the absolute rotation of the "center" entity. Unfortunately entities use yaw, pitch, and roll. If anybody could let me know if they will work anyway, how to adapt them, or how to determine absolute rotation from yaw, pitch, and roll I would be grateful. Current equations: newx = controllerx + xoffset(sin(Yrotation) + sin(Zrotation)) newy = controllery + yoffset(sin(Xrotation) + sin(Zrotation)) newz = controllerz + zoffset(sin(Xrotation) + sin(Yrotation)) rotations are around the letter's axis(e.g. Yrotation would be yaw)
  3. Is the creative tab working properly? Try using a default one. Usually when my stuff doesn't work, that's the problem.
  4. Not necessarily, gradle doesn't work correctly in my drop box folder, could be something similar.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.