- Home /
Simulate physics without rendering
Is there a way to simulate interaction between object in scene using a default Unity physics without rendering this scene? I have scene with several objects which can be placed in random positions and I need calculate in background their positions after some time according to their start coordinates.
Answer by yant · Dec 22, 2015 at 09:14 AM
Hi,
We'd love to allow updating physics independently of world clock in the future as that would also help serving the networking needs, but there is no ready solution yet I'm afraid. As far as I'm aware, usually it's possible to come up with a project-specific workaround. In your particular case, it might be possible to construct a copy of your scene (but w/o graphics) outside of the camera viewport and let it be simulated for some time to get the trajectories of the bodies you're interested in. That's one of the approaches I've seen used in some sports games.
Hope it helps.
Anthony
Answer by nofreewill42 · Feb 03, 2019 at 08:37 AM
Is this feature now possible with unity? Nevertheless, thanks for the advice on the camera trick.
Your answer
Follow this Question
Related Questions
Water Toy Ring Toss - How to simulate the rings 1 Answer
Problem with a ballistic trajectory simulation (rigidbody.velocity) 0 Answers
Remove part of a mesh or points of pointcloud 1 Answer
Using cylinder colliders as wheels. 1 Answer
Create a leaf with it's natural motion acting upon gravity? 2 Answers