# ALandscape::ActorLineTraceSingle(...) very very slow

**URL:** <https://forums.unrealengine.com/t/alandscape-actorlinetracesingle-very-very-slow/314554>\
**Category:** World Creation\
**Tags:** sweep, Trace, unreal-engine, Landscape, question\
**Created:** [April 10, 2015, 12:24pm UTC](https://forums.unrealengine.com/t/alandscape-actorlinetracesingle-very-very-slow/314554 "2015-04-10T12:24:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![BingoBongo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BingoBongo](https://forums.unrealengine.com/u/BingoBongo)\
**Post date:** [April 10, 2015, 12:24pm UTC](https://forums.unrealengine.com/t/alandscape-actorlinetracesingle-very-very-slow/314554/1 "2015-04-10T12:24:54Z")

</div>

ALandscape::ActorLineTraceSingle(…) very very very slow.

params sample:

```
pLandscape->ActorLineTraceSingle(
	hit, 
	posite + FVector(0.0f, 0.0f, capsule.GetCapsuleHalfHeight()*2.0f), 
	posite, 
	ECollisionChannel::ECC_WorldStatic, 
	FCollisionObjectQueryParams::AllStaticObjects);

```

And GetWorld()-\>SweepSingle(…) ignoring Landscapes.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2b03d27c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2b03d27c](https://forums.unrealengine.com/u/anonymous_user_2b03d27c)\
**Post date:** [April 10, 2015, 2:12pm UTC](https://forums.unrealengine.com/t/alandscape-actorlinetracesingle-very-very-slow/314554/2 "2015-04-10T14:12:09Z")

</div>

Hey-

Another user posted an issue with ActorLinetraceSingle() here ([[4.7.3] Actor::ActorLineTraceSingle doesn't work correctly in the editor - Programming & Scripting - Epic Developer Community Forums](https://answers.unrealengine.com/questions/207100/undefined.html)) which has already been reported as UE-13362 for investigation.

Cheers
