Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
Dismiss Notice
Join us now in the Performance Profiling Dev Blitz Day 2023 - Q&A forum where you can connect with our teams behind the Memory and CPU Profilers and the Frame Debugger.

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