Search found 92 matches

by parapoohda
Tue Dec 10, 2019 6:20 am
Forum: Questions and Help
Topic: costchange is NaN
Replies: 2
Views: 4815

Re: costchange is NaN

Thank you. I think it is because dt. Now I change it to constant value. If it error again I will look into it.
by parapoohda
Mon Dec 09, 2019 9:15 am
Forum: Questions and Help
Topic: costchange is NaN
Replies: 2
Views: 4815

costchange is NaN

what does this mean? Debug.Assert(!float.IsNaN(costChange) && !float.IsInfinity(costChange), "If the change in heuristic cost hits invalid values, it's likely that there are invalid poses or velocities. A bugged velocity input or constraint triggering an explosion is likely."); Tha...
by parapoohda
Mon Dec 09, 2019 4:53 am
Forum: Questions and Help
Topic: When change direction sometime it jump.
Replies: 10
Views: 8240

Re: When change direction sometime it jump.

no it is not constant. it is dt. public void LoopThread() { var expectedTicks = 15 * TICKS_PER_MILLISECOND; var debt = 0L; #if DEBUG var physicsTicks = 0L; #endif var useTicks = 0L; var startTicks = 0L; while (isRun) { startTicks = DateTime.Now.Ticks; #if DEBUG physicsTicks += expectedTicks + debt; ...
by parapoohda
Sat Dec 07, 2019 11:43 am
Forum: Questions and Help
Topic: how could i know if it run correctly with linux server no graphic
Replies: 28
Views: 35493

Re: how could i know if it run correctly with linux server no graphic

It try to use broad phase to tell which unit is near player. So I don't have to send every thing in bufferpool(game map) to client. but I think broad phase work incorrectly with static.But it work fine with dynamic. Can I use broadphase to see static object too. Maybe because I use handle to refer t...
by parapoohda
Sat Dec 07, 2019 6:44 am
Forum: Questions and Help
Topic: When change direction sometime it jump.
Replies: 10
Views: 8240

Re: When change direction sometime it jump.

It seem only jump when it is lag like when massive debug log. Maybe it is lag.
by parapoohda
Thu Dec 05, 2019 10:42 am
Forum: Questions and Help
Topic: When change direction sometime it jump.
Replies: 10
Views: 8240

Re: When change direction sometime it jump.

Thank you. I will try it out.
by parapoohda
Wed Dec 04, 2019 3:57 am
Forum: Questions and Help
Topic: When change direction sometime it jump.
Replies: 10
Views: 8240

Re: When change direction sometime it jump.

sorry I add body handle to function so my maximum horizontal force is move backward many position. public CharacterInput(CharacterControllers characters, int bodyHandle, Simulation simulation, System.Numerics.Vector3 initialPosition, Capsule shape, float speculativeMargin, float mass, float maximumH...
by parapoohda
Wed Dec 04, 2019 3:47 am
Forum: Questions and Help
Topic: When change direction sometime it jump.
Replies: 10
Views: 8240

Re: When change direction sometime it jump.

Thank you for the answer.
I will look int it. :D :D :D
by parapoohda
Tue Dec 03, 2019 10:30 am
Forum: Questions and Help
Topic: When change direction sometime it jump.
Replies: 10
Views: 8240

When change direction sometime it jump.

1 When I change direction sometime it jump I try to replicate it and find it cause.But I can't. Maybe it is relate with my maximum horizontal force 100 characterInput = new CharacterInput(characterCTs, bodyHandle, simulation, this.startPosition, new Capsule(0.5f, 1f), 0.1f, 1f, 1, 100, 6, 4, MathF.P...
by parapoohda
Fri Oct 25, 2019 9:09 am
Forum: Questions and Help
Topic: I want to make Trigger where should I look into.
Replies: 7
Views: 14523

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

Thank you. I will clarify my unclear question. That time I think to make list of object that are contact or in that trigger. Then I try to add when new object contact or in trigger. And remove when it is out of trigger. So I think I need to know which function being call when object is out of trigge...
by parapoohda
Mon Oct 21, 2019 3:45 am
Forum: Questions and Help
Topic: I want to make Trigger where should I look into.
Replies: 7
Views: 14523

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

1 Is it will be too overburden server to use ConfigureContactManifold every frame?
2 If it is overburden I want to know where to call function when it out or in.
Thank you.
by parapoohda
Wed Oct 16, 2019 3:42 am
Forum: Questions and Help
Topic: I want to make Trigger where should I look into.
Replies: 7
Views: 14523

I want to make Trigger where should I look into.

I want to make trigger(collision detection then do something. I think it is call hit box.) like trap, skill eg. aura(skill support allies around user), projectile like fireball or skill that cast on ground like storm gust(Ragnarok online). Should I look into TankDemo, ContactEventDemo or create list...