m.j.hutchinson at gmail.com
Thu Jan 29 22:53:35 UTC 2015
Oh, yes, I was able to get it to work by tweaking the collision
settings for the object.
Here's an unfiltered query:
var noFilter = default (SubclassOf<UnrealEngine.CoreUObject.Object>);
GetOverlappingActors (out actors, noFilter);
You can also use the filter, for example to find only overlapping Characters:
var characterFilter = new SubclassOf<UnrealEngine.CoreUObject.Object>
GetOverlappingActors (out actors, characterFilter);
In the next release, I'll add new overloads that will make it a lot cleaner:
IList<Actor> actors = GetOverlappingActors();
IList<Character> characters = GetOverlappingActors<Character>();
On 29 January 2015 at 16:53, Ryan Burnham <nitro52 at iinet.net.au> wrote:
> Woops copied wrong url somehow.
> From: Ryan Burnham
> Sent: 30/01/2015 5:49 AM
> To: Michael Hutchinson; Antoine Dussarps
> Cc: mono-ue
> Subject: RE: [Mono-ue] GetOverlappingActors
> I had the same problem. I remember there being a issue where mono required
> the class filter parameter. I wasn't sure if this was causing a prob.
> I know you need to enable collision on both actors. I aslo found this which
> might have been my issue
> From: Michael Hutchinson
> Sent: 30/01/2015 4:53 AM
> To: Antoine Dussarps
> Cc: mono-ue
> Subject: Re: [Mono-ue] GetOverlappingActors
> I've tried to reproduce this and I don't get any results from
> GetOverlappingActors either in C# or in Blueprint. I suspect there's
> some subtlety to setting up the actors in the scene that's not
> immediately obvious.
> It looks like other people have the same issue with C++ and with
> - m
> On 29 January 2015 at 12:12, Antoine Dussarps <adussarps at gmail.com> wrote:
>> I'm kind of new to developping with mono and unreal, and I'm tryng to use
>> the basic method GetOverlappingactors from a capsule, but i cant get it
>> working properly, could someone send me and exemple of its use with mono?
>> would be realy glad.
>> Mono-ue mailing list
>> Mono-ue at lists.ximian.com
> Michael Hutchinson ~ https://mhut.ch
> Mono-ue mailing list
> Mono-ue at lists.ximian.com
Michael Hutchinson ~ https://mhut.ch
More information about the Mono-ue