Hello
I am working on pIatformer 2.5d game. I made my character throw an object, aims an throw. But I want it to make a trajectory path visible. It only appears the begining of the path on the character’s hand, but not the entire trajectory arc.
I am new to unreal engine so I not sure what am I doing wrong.
short arcs like that are almost always the trace eating itself. your start is inside the capsule so the first sweep hits your own character and stops early.
in the predict node set the actors to ignore to include your character, use a trace channel that hits the floor, and bump up max sim time and sim frequency so it samples far enough. also set draw debug type to persistent for testing so teh short lived debug line does not fool you.
you can also try Gravity and Ballistics Toolkit, a trajectory preview tool for Unreal Engine that draws the real throw arc with drag and collision and turns it into a spline: Gravity & Ballistics Toolkit — Planet Gravity, Zero-G & Arc Prediction | Fab