Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Windows build collision

Discussion in 'Scripting' started by besuser, Oct 30, 2007.

  1. besuser

    besuser

    Joined:
    Oct 9, 2007
    Posts:
    292
    In the development environment, and when I build my game, my collision detection works: my ball does not drop through the ground, even at high velocity. When I build for windows and run it on my windows machine, the ball goes through the ground (though it seems to be falling more slowly). Printing out messages, I see that my raycast in FixedUpdate detects the hit; however it is not correcting for it, and my OnCollisionStay is never invoked. Is there some setting that I'm missing to activate the built in physics? Is this possibly an issue with 2.0? Any other ideas?

    Thanks very much!
     
  2. Aras

    Aras

    Unity Technologies

    Joined:
    Nov 7, 2005
    Posts:
    4,770
    Send a simple project folder that reproduces the issue with Report Bug.app