Download

Trace based on ThumbStick direction

I’m looking to fire of a trace from the player out in to the world based on the right thumbstick direction. Currently there is no trace(blueprint) that supports this. I am curious to know whether i would need code support to create this type of trace or is there a way in blueprints to achieve this? If you have any information i would appreciate hearing it.

Thanks!

This is totally doable in Blueprints. You can use the “InputAxis TurnRate” and “Input Axis LookUpRate” events to get the Axis Value of the Right stick. Build a vector out of those. Then use your player location as the start of the trace and use the stick vector to determine the end of the trace. Hope that’ll help get you started.