Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question How to Raycast against PhysicsWorldIndex?

Discussion in 'Physics for ECS' started by Thygrrr, May 19, 2022.

  1. Thygrrr


    Sep 23, 2013
    How do I specify a Raycast against a specific PhysicsWorldIndex? (Either in a system / job or outside using the collision world)

    I used to do this with my custom collision filter code, now I'm bringing it to Entities 0.50 and want to make use of the physics worlds feature instead of using my custom solution.
    Last edited: May 19, 2022