Skip to content

Trace Results on Chaos bodies #68

@aetherspacemind

Description

@aetherspacemind

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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions