-
Notifications
You must be signed in to change notification settings - Fork 154
Open
Description
Hello.
Any way to use a line trace to get the body index? (ie the entity index)? I can use the octree but the Fbox is a little awkward for me.
I tried to set the BodyIndex in BodyInstance so that when I use a line trace I get the body index (ie the entity index) I just get an int that = body count. That doesn't work at all obviously and I have tried a bunch of things, moving the for loop way up and poking and prodding in there.
It was mentioned that the physics here used a similar way the landscape is initialized? I'm assuming the entities are "one thing"?
I tried looking for other methods in source but I couldn't put anything together. ISM uses the BodyIndex as Instance index.
Metadata
Metadata
Assignees
Labels
No labels