gamecreator Posted April 29, 2017 Share Posted April 29, 2017 Project file: http://www.mediafire.com/file/6sxskkdzranqvtb/NewtonTest.zip (Using the current beta.) Moving Platform Bugs While moving platform is going down and you walk along it, you see your character snap back a bit after stopping. While it's going up, your character ends up in it. It used to fall through but I couldn't recreate that this time. Jump Off Slopes Is Extremely Low Jump height when jumping off slopes is drastically reduced. I was able to make that jump by stopping, jumping straight up and then holding right, which is goofy in a platformer. In the project I've included a workaround suggested in a previous thread. Comment out line 133 (player1->SetVelocity(v)) to see the problem in the project. Fall Through Ground At a higher gravity setting, the character will fall through the ground when jumping from a height. The default gravity produces a slow, floaty jump and it needs to be increased for a platformer to feel solid and responsive. I've tried a suggested SetSweptCollisionMode(true) with no effect. Thanks for taking a look. I'd also love to hear that I'm doing something wrong if that's the case. Project file: http://www.mediafire.com/file/6sxskkdzranqvtb/NewtonTest.zip (Using the current beta.) 1 Link to comment Share on other sites More sharing options...
extenz Posted April 30, 2017 Share Posted April 30, 2017 walking on rails etc. makes the character bounce and jumping off the rail shoots the character away 2 Link to comment Share on other sites More sharing options...
Crazycarpet Posted April 30, 2017 Share Posted April 30, 2017 walking on rails etc. makes the character bounce and jumping off the rail shoots the character away Is this on the beta branch? the demo works fine on the main branch. Link to comment Share on other sites More sharing options...
gamecreator Posted May 20, 2017 Author Share Posted May 20, 2017 Any word on these issues, 3 weeks later? I need to know if they will be fixed or if I should go down a different path. Link to comment Share on other sites More sharing options...
Josh Posted May 21, 2017 Share Posted May 21, 2017 I am in the middle of a major update that involves physics. 2 My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
gamecreator Posted June 11, 2017 Author Share Posted June 11, 2017 Today's test results with the current beta: Moving Platform Bugs I wasn't able to replicate the character going into the moving platform any more so that seems to be fixed. The rubberbanding issue still exists. Jump Off Slopes Is Extremely Low This doesn't seem to have changed. Jumps off slopes are still reduced. Fall Through Ground This issue has not been fixed. Out of curiosity, I removed the gravity increase and left it the default -25. Even at that gravity, the character does fall through the ground like shown in the video above. At this point I'll leave this in your hands to test with the project I provided. Link to comment Share on other sites More sharing options...
Crazycarpet Posted June 11, 2017 Share Posted June 11, 2017 7 minutes ago, gamecreator said: Fall Through Ground This issue has not been fixed. Out of curiosity, I removed the gravity increase and left it the default -25. Even at that gravity, the character does fall through the ground like shown in the video above. I know it's a long shot, but is there even the slightest chance that the character is somehow moving in a negative direction along the Z axis (Moving away from the camera) effectively missing the platform? Doesn't look like this is the case or anything, figured I'd throw it out there. Link to comment Share on other sites More sharing options...
gamecreator Posted June 11, 2017 Author Share Posted June 11, 2017 Fair guess but I have invisible walls front and back preventing this. The purple lines you see in the video are their physics debug lines. Link to comment Share on other sites More sharing options...
Josh Posted June 12, 2017 Share Posted June 12, 2017 Give this a try and tell me what you think. NewtonTest.debug.rar My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
gamecreator Posted June 12, 2017 Author Share Posted June 12, 2017 Crashes for me just after it creates the gameplay window. Link to comment Share on other sites More sharing options...
Josh Posted June 12, 2017 Share Posted June 12, 2017 Oh, missing DLLs... My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
gamecreator Posted June 13, 2017 Author Share Posted June 13, 2017 I wish I could easily find that post of yours that made fun of DLL spam. Link to comment Share on other sites More sharing options...
Josh Posted June 16, 2017 Share Posted June 16, 2017 Try the current beta build. My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
gamecreator Posted June 16, 2017 Author Share Posted June 16, 2017 Did you test it on your end and the issues were gone/fixed? Link to comment Share on other sites More sharing options...
Josh Posted June 16, 2017 Share Posted June 16, 2017 All three issues are resolved. My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
gamecreator Posted June 16, 2017 Author Share Posted June 16, 2017 Switched back to beta. Updated project. Recompiled and ran. All models were gone and only the blue sky showed (DrawImage). But it scrolled when I moved as expected so the controller (and I guess the ground) is there somewhere. Hmm. Did the camera change or something? Or changing the context to draw the background (maybe with the GUI change)? Investigating... Link to comment Share on other sites More sharing options...
Josh Posted June 16, 2017 Share Posted June 16, 2017 Dang it, hold on...I commented out some fog in the dir light shader... My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Josh Posted June 16, 2017 Share Posted June 16, 2017 Okay, fixed. Sorry about that. My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
gamecreator Posted June 16, 2017 Author Share Posted June 16, 2017 The fall through the ground seems to be fixed, even at higher gravity: awesome! The jump off slopes sometimes jumps full height, sometimes doesn't. Remember to hold right while you jump, even if you let go after (so that you're running down the slope while you jump). The rubber banding on the moving slope to the left still remains. Sidenote: the line near the bottom of the code should be changed to this, to see the max height jumped properly: context->DrawText("Max jump height: " + String(maxheight-startheight), 10, 30); Link to comment Share on other sites More sharing options...
Josh Posted June 16, 2017 Share Posted June 16, 2017 The rubber banding thing is weird. I wonder what causes this... My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
gamecreator Posted December 15, 2017 Author Share Posted December 15, 2017 Curious if the physics changes will fix some of this... Link to comment Share on other sites More sharing options...
Admin Posted March 11, 2019 Share Posted March 11, 2019 I'm happy to say all three problems listed in the first post are fixed. Thank you very much for taking the time to report this with all the needed details. This will make the engine better for everyone. NewtonTest.zip 1 Link to comment Share on other sites More sharing options...
Recommended Posts