Nox_A15
Member
|
Physics not scaling disproportionately
Topic says it all. When we have some objects scaled disproportionately on the map, everything works fine in the editor (v. 1.0) - when I turn on physics visibility, it looks fine. But when I run a compiled map, physics scale as if their original objects were scaled proportionately. Is it a bug or something in our code?
(This post was last modified: 01-05-2013 12:38 PM by Nox_A15.)
|
|
01-05-2013 12:38 PM |
|
Esenthel
Administrator
|
RE: Physics not scaling disproportionately
Is it related to Game.Static or Game.Kinematic with non-uniform scale, and objects being rotated?
If yes then I fixed one bug recently (will be available in next SDK).
If not, please attach screens from Editor, Game, and object properties (scale), its rotation axis, and original phys body (from physics editor)
|
|
01-05-2013 01:41 PM |
|
Esenthel
Administrator
|
RE: Physics not scaling disproportionately
Hi, yeah, as I mentioned in last post the fix will be in next SDK.
It should actually be available tomorrow or after tomorrow if I make it with everything.
|
|
01-27-2013 09:47 PM |
|
Nox_A15
Member
|
RE: Physics not scaling disproportionately
Unfortunately, new version have the same bug. :/
|
|
02-01-2013 03:59 PM |
|
Esenthel
Administrator
|
RE: Physics not scaling disproportionately
Are you using custom game object C++ classes for those objects? If so you need to adjust your codes to use 'scaleOrnL' instead of 'scaleOrn' (look into updated game object static/kinematic sources)
If you're using default classes/embed into terrain, then can you attach sample object (.obj, .mesh, .phys) and world (.world) with that object that shows the error?
|
|
02-01-2013 04:39 PM |
|
Nox_A15
Member
|
RE: Physics not scaling disproportionately
|
|
04-04-2013 05:09 PM |
|
Nox_A15
Member
|
RE: Physics not scaling disproportionately
But judging from screenshots you haven't tried to fly with player character around the objects. Those very tall should have a huge invisible wall around them, because physics scale uniformly even when object is scaled non-uniformly. This is an issue only in Editor Play Mode (and in the game as well).
So something is probably wrong with compilation process.
PS
Turn on the physics view in Play Mode - everything will be clear then. It should look like here:
http://www.esenthel.com/community/showth...2#pid36042
(This post was last modified: 04-05-2013 07:35 PM by Nox_A15.)
|
|
04-05-2013 07:22 PM |
|
Esenthel
Administrator
|
RE: Physics not scaling disproportionately
I'm testing this now
|
|
04-05-2013 07:36 PM |
|
Nox_A15
Member
|
RE: Physics not scaling disproportionately
Thank you. Glad I was able to help.
|
|
04-07-2013 04:31 PM |
|