Mr-Craig / AsyncTickPhysics

Access UE5s Async Physics event using C++ or Blueprints
76 stars 13 forks source link

Linetrace support #5

Closed Sphiyo closed 1 year ago

Sphiyo commented 1 year ago

When does a linetrace in physics async event ue5 crashes :/

Mr-Craig commented 1 year ago

Are you using the Draw Debug options?

Sphiyo commented 1 year ago

I'm using simple bp function linetracebychannel is it because it traces the debug inside bp function. I will use c++ version and replay back thank you so much for your efforts

Mr-Craig commented 1 year ago

I'm using simple bp function linetracebychannel is it because it traces the debug inside bp function. I will use c++ version and replay back thank you so much for your efforts

You can use the BP LineTraceByChannel function but you cannot enable the Draw Debug functions as you can only do this on the Game Thread, setting them to None should stop the crashes!

Sphiyo commented 1 year ago

I will try it today thank you so much for the heads-up I'll let you know if it works. I'm making a suspension system of a car.

Sphiyo commented 1 year ago

Thank you so much It worked I'm happy for what you did god bless you.