Everything you is effective but out of a disturbing insect. Sometimes the character control experience the brand new wall surface/ground. They commonly happens when this new SCC is on a moving platforms (and therefore movements vertically) and also when the SCC motions prompt. Somehow the brand new SCC comes to an end colliding for a-frame (maybe much more) when the movespeed are large. The project works within 60fps without having any fps drop and i also enabled Repaired timestep with the controller.
I attempted exploring your own password but it’s as well cutting-edge for us to know it. Could there be people boost otherwise quick cheat for it bug?
I am obtaining exact same problem with moving programs in a job I’m dealing with…and therefore looks unusual, as it try of course doing work for my personal Mario project. Gonna check out it. Simply the control cannot discover the floor toward platform and you will instead have gathering downwards speed out-of gravity, fundamentally phasing courtesy they.
You will notice that when the control falls with the an effective vertically swinging system otherwise leaps in it, the new SCC skips the fresh new swinging program however, detects the ground lower than it
Yup, one Abilene TX escort twitter thing that You will find observed is the fact that the insect often takes place whenever clamping are handicapped into operator. Are signing the name/mark of your own soil thought underneath the controller. Consequently the newest control is actually stuck about fall condition for approximately a moment (since if the latest scc try prohibited of the moving platform’s collider but instead of discovering they. ) then easily experiences brand new collider and you will clamps to your soil below (one that are identified because of the scc). Thus far, it insect failed to happens with good horizontally swinging program but perhaps We have not checked out him or her adequate.
Hey there! Performed any of the thing is out that which was resulting in this matter? I have seen the same issue with networks which can be swinging vertically and can’t get the source of the situation inside the the brand new code, your own SCC looks stellar if you ask me!
I have you to matter to you, I wish to make NPCs including Sheeps, how to customize it software to support spheres that have x/z counterbalance?
Btw, You will find enhanced your own BSPTree script greatly, today it creates zero allocations & is about 100x reduced. You prefer it?
To change the career of your spheres made use of, you’ll need to modify the CollisionSphere category (included in SuperCharacterController.cs). At this time it has just one float named offset one to means it up otherwise down. Should you want to support directional counterbalance, I’d suggest substitution that it that have a great Vector3. You are going to need to upgrade the SpherePosition method also, that takes a crash sphere and spends it’s offset to determine where inside the Industry Space it is. There may be one or two other small things however, which will become fundamental posts.
Thus far I like they!
So far as a much better BSPTree, naturally! Please submit it as a tow demand for the fundamental repo if you like.
“NullReferenceException: Object resource not set-to an illustration of an object SuperCharacterController+SuperGround.ProbeGround (Vector3 provider, Int32 iter) (at Property/SuperCharacterController/Core/SuperCharacterController.cs:666) SuperCharacterController.ProbeGround (Int32 iter) (on Property/SuperCharacterController/Core/SuperCharacterController.cs:226) SuperCharacterController.SingleUpdate () (at Property/SuperCharacterController/Core/SuperCharacterController.cs:194) SuperCharacterController.Improve () (on Assets/SuperCharacterController/Core/SuperCharacterController.cs:158)”
The newest SCC needs indeed there constantly to-be some sort of crushed under the user to make sure it hasn’t clipped through the world. I simply set a big endless invisible box collider having which mission.
One thing found in your panels regarding GitHub regarding the SpaceZone world: 1) There is certainly an inactive object in the ladder “Destroyed Prefab” having a couple students. It is never ever activated. Does it now have a work? 2) This new gravity program toward “Player” has an open “Planet” reference and that factors to one of the people of your own “Destroyed Prefab”. I presume the response to #step one will answer that it however,, what’s the “Planet” reference creating?