I need help with particule procedures

Started by Tatan on

Topic category: Advanced modding

Last seen on 16:27, 2. Apr 2024
Joined Jan 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I need help with particule procedures
Sat, 01/13/2024 - 17:13 (edited)

I can't make sure that my star is correctly aligned with the character's view. I think it comes from the y axis. But I can't find the problem. I followed a tutorial to do it, it doesn't show everything.https://www.youtube.com/watch?v=X--wmU2wS4Y

Edited by Tatan on Sat, 01/13/2024 - 17:13
Last seen on 14:24, 2. May 2024
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I have no idea what math you…
Wed, 01/17/2024 - 14:18

I have no idea what math you're using for the star shape, but if you copied it from a tutorial, it should probably work. If you need to get it alligned with the player's view, you'll probably need to offset the starting location of the particles using the 'x/y/z look angle vectors' of the player. If you change the starting position from x/y/z to (x + x look angle vector), (y + y look angle vector), (z + z look angle vector), then it will start the particles one block in front of wherever the player is looking. (You can multiply this by whole or decimal numbers to increase or decrease the distance from the player.)

Last seen on 16:27, 2. Apr 2024
Joined Jan 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
thank you I managed to…
Sun, 01/21/2024 - 11:03

thank you I managed to resolve all the problems thanks to your explanation