Search Unity

Question Help needed with setting Trajectory

Discussion in 'Visual Scripting' started by Jarumba, Jul 9, 2021.

  1. Jarumba

    Jarumba

    Joined:
    Jul 7, 2021
    Posts:
    23
    Ok so after 3 days of failed attempts I'm hoping someone on this forum can help me with setting a trajectory for a rigid body based on a starting location and a vector 3 created by a ray cast.

    The idea is where ever the player is in the scene I will be able to create a ball to go to the end point based on a ray cast. is this possible?

    I would supply some code but so far I haven't had much luck.
    trajectory image.png