1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

why not creating many particles

Discussion in 'Development' started by Hoyee, Mar 6, 2020.

  1. Hoyee

    Hoyee Baby Zombie

    Messages:
    126
    I used

    public function onTouch(PlayerInteractEvent $event){
    $p = $event->getPlayer();

    $directionvector = $p->getDirectionVector();

    but another plugin it works going straight, but something plugin doesn't go straight. it just spawn only one particle. it's using same code. why?
     
  2. TwistedAsylumMC

    TwistedAsylumMC Slime

    Messages:
    96
    GitHub:
    twistedasylummc
    You have not shown any code that relates to particles or spawning them, so no one will be able to help you until you post the full code.
     
    Invy55 likes this.
  3. GamakCZ

    GamakCZ Zombie Pigman

    Messages:
    598
    GitHub:
    GamakCZ
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.