Thanks to own development and you will sharing this excellent profile operator!
Everything you works great but regarding a distressing bug. Possibly the smoothness control goes through brand new wall/crushed. They usually happens when the new SCC is found on a moving programs (and therefore actions vertically) as well as in the event the SCC moves quick. For some reason new SCC closes colliding to possess a frame (perhaps a lot more) when the movespeed was highest. The project operates at the 60fps with no frames per second get rid of and that i let Fixed timestep with the controller.
I tried exploring your own password but it is too advanced having me to understand it. Is there people boost otherwise brief hack for this bug?
I am obtaining the exact same challenge with moving networks inside a venture I’m implementing…hence appears odd, whilst are needless to say employed by my Mario venture. Planning check out it. Essentially the controller will not find the floor toward program and as an alternative has building up downward acceleration away from gravity, at some point phasing thanks to they.
You will notice that when the operator falls on good vertically moving platform otherwise jumps in it, brand new SCC skips new moving system but detects a floor lower than it
Yup, something that We have noticed is the fact that insect will happens when clamping was handicapped for the controller. Is actually signing title/mark of one’s crushed recognized underneath the control. This is why new controller are trapped from the fall condition for about a second (as if the fresh new scc are blocked because of the swinging platform’s collider however, rather than finding it. ) following rapidly goes through the new collider and you can clamps into ground less than (one which is actually thought because of the scc). So far, which insect don’t happen with good horizontally swinging program but possibly I have not tested her or him sufficient.
Hey there! Performed any kind of the thing is that out the thing that was causing this problem? I have seen an identical challenge with systems that are swinging vertically and can’t get the source of the issue inside brand new password, your own SCC looks excellent if you ask me!
We have one concern to you, I want to make NPCs particularly Sheeps, how can i personalize that it program to help with spheres having x/z counterbalance?
Btw, I’ve optimized your own BSPTree program greatly, now it will make no allocations & is just about 100x faster. You want it?
To improve the position of your own spheres put, you’ll need to customize the CollisionSphere category (included in SuperCharacterController.cs). Nowadays it has got just one float named counterbalance you to translates it otherwise off. When you need to help directional offset, I would personally suggest substitution which with good Vector3. You will have to upgrade the new SpherePosition strategy too, which will take a crash sphere and you will uses it’s offset to determine where when you look at the Community Area it is. There could be several most other little things however, that should function as chief stuff.
So far I really like it!
As far as a much better BSPTree, of course! Go ahead and fill in it a pull request into the fundamental repo if you prefer.
“NullReferenceException: Target source perhaps not set-to an illustration of an item SuperCharacterController+SuperGround.ProbeGround (Vector3 supply, Int32 iter) (from the Property/SuperCharacterController/Core/SuperCharacterController.cs:666) SuperCharacterController.ProbeGround (Int32 iter) (at the Possessions/SuperCharacterController/Core/SuperCharacterController.cs:226) SuperCharacterController.SingleUpdate () (on Possessions/SuperCharacterController/Core/SuperCharacterController.cs:194) SuperCharacterController.Revision () (within Assets/SuperCharacterController/Core/SuperCharacterController.cs:158)”
The fresh new SCC needs around always to-be a world crushed beneath the athlete to make sure they hasn’t slashed through the globe. I usually only lay a large limitless undetectable field collider for so it goal.
Anything noticed in the project of GitHub from the SpaceZone scene: 1) There was a sedentary target regarding hierarchy “Missing Prefab” having several children. It’s never ever activated. Does it actually have a function? 2) The new the law of gravity program for the “Player” provides
an open “Planet” reference and this things to one of many students of one’s “Missing Prefab”. I presume the answer to #1 usually address that it however,, what’s the “Planet” resource performing?
Post a Comment
You must be logged in to post a comment.