Search found 8 matches

by WRZ1
Fri Oct 25, 2019 12:18 pm
Forum: Questions and Help
Topic: I want to make Trigger where should I look into.
Replies: 7
Views: 10871

Re: I want to make Trigger where should I look into.

Like with the events there is nothing built into Bepu, I think you have roll your own. One way to implement it: Keep track of the triggers you are currently overlapping with, and in the next tick compare that list with the currently overlapping objects. Now, if one of your tracked triggers is no lon...
by WRZ1
Sun Oct 06, 2019 1:48 am
Forum: Questions and Help
Topic: [v2][Solved] Character Demo - Sliding as if on ice
Replies: 12
Views: 17063

Re: [v2][Solved] Character Demo - Sliding as if on ice

Teleporting a completely unconstrained object to another completely unconstrained location is fine, yes. And even if constraints are present, the worst case is error that has to be recovered through position correction alone since there is no associated velocity, causing a soft-looking collision or...
by WRZ1
Sat Oct 05, 2019 9:50 pm
Forum: Questions and Help
Topic: [v2][Solved] Character Demo - Sliding as if on ice
Replies: 12
Views: 17063

Re: [v2][Solved] Character Demo - Sliding as if on ice

it's true that directly teleporting objects around isn't very kind to a dynamic simulation Teleporting into space without collisions should be fine, and what you said only applies when I trigger a collision while changing the position or otherwise make it hard for velocity-based constraints.. is th...
by WRZ1
Sat Oct 05, 2019 1:37 am
Forum: Questions and Help
Topic: [v2][Solved] Character Demo - Sliding as if on ice
Replies: 12
Views: 17063

Re: [v2][Solved] Character Demo - Sliding as if on ice

Alright, beginners probably won’t go the route of implementing a custom physics engine that often anyways. From my part it was a complete lack of knowing any physics engine concepts, but as you said can be found pretty easily once you know what to look for. Whatever, learned a ton of new stuff and i...
by WRZ1
Fri Oct 04, 2019 9:43 pm
Forum: Questions and Help
Topic: [v2][Solved] Character Demo - Sliding as if on ice
Replies: 12
Views: 17063

Re: [v2][Solved] Character Demo - Sliding as if on ice

Good to know.. however I just got to the infamous point of “The more I know, the less I realize I know” and have a lot of dots to connect. :D Just when everything worked as expected I realized the differences between a dynamic and kinematic character controller. It totally makes sense to showcase a ...
by WRZ1
Fri Oct 04, 2019 2:15 am
Forum: Questions and Help
Topic: [v2][Solved] Character Demo - Sliding as if on ice
Replies: 12
Views: 17063

Re: [v2][Solved] Character Demo - Sliding as if on ice

Thanks a lot! That's a really helpful summary and looks like all my issues are solved and I even improved my core loop. Since the namespace of Stopwatch is in Diagnostics, I actually thought it wasn't made for production things and put it aside.. but well, what should I say? It's ridiculously precis...
by WRZ1
Thu Oct 03, 2019 11:10 pm
Forum: Questions and Help
Topic: [v2][Solved] Character Demo - Sliding as if on ice
Replies: 12
Views: 17063

Re: [v2][Solved] Character Demo - Sliding as if on ice

Thanks for the quick response! Master-branch has the constraint template file fixed, error is gone. The assertion/jumping on another body issue was caused by something else, but after some debugging I could fix the assertion issue as well, for some reason there was a "ref" lingering around in Charac...
by WRZ1
Wed Oct 02, 2019 1:25 am
Forum: Questions and Help
Topic: [v2][Solved] Character Demo - Sliding as if on ice
Replies: 12
Views: 17063

[v2][Solved] Character Demo - Sliding as if on ice

Hello there! Impressive library, really solid work with lot's of helpful examples. First of all I want apologize for the wall of text that emerged from describing my issue. Having no background using physics engines on such a low level I have tried to understand the concepts and implementation over ...