Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Error: "-1.#.ND" ? What?
Daemian Offline
Posting Freak

Posts: 1,129
Threads: 42
Joined: Dec 2012
Reputation: 49
#4
RE: Error: "-1.#.ND" ? What?

(05-25-2013, 11:43 AM)palistov Wrote: The -1#ND thing has to do with floating point limits I think. You're probably flying down very fast. See, it looks like you have two bodies on your entity there, right? Only use one. The player is likely colliding between two of them at the same time when walking over the rock and accumulating an extremely high force from the bodies trying to push the player out of them both at the same time. Then you fly off and die because there is a minimum Z value you have to have to play.

Edit: For a rock like that you don't even need it to be an entity, you can just load it into your map through the editor as a static object. The engine constructs a collider from the mesh for you, so you can walk over it.
Yep, that's what i think too.
Nobody is absolutely sure, but that's probably the reason.

I'm gonna try that static object idea, though i thought that two round circles were better for performance than having the game loading the exact shape of the object. Am i wrong?

In fact, performance was the reason why i did this custom rock.
I need a lot of rocks in this particular map so i had to edit some stuff and remove others. And the difference is really significant.

05-27-2013, 05:25 AM
Find


Messages In This Thread
Error: "-1.#.ND" ? What? - by Daemian - 05-23-2013, 11:05 PM
RE: Error: "-1.#.ND" ? What? - by Bridge - 05-23-2013, 11:43 PM
RE: Error: "-1.#.ND" ? What? - by palistov - 05-25-2013, 11:43 AM
RE: Error: "-1.#.ND" ? What? - by Daemian - 05-27-2013, 05:25 AM
RE: Error: "-1.#.ND" ? What? - by palistov - 05-27-2013, 04:11 PM
RE: Error: "-1.#.ND" ? What? - by Daemian - 05-28-2013, 12:14 AM
RE: Error: "-1.#.ND" ? What? - by palistov - 05-28-2013, 10:08 AM



Users browsing this thread: 1 Guest(s)