That which you is effective but out-of a distressing bug. Often the character operator experience new wall/crushed. They will is when the newest SCC is on a moving networks (hence movements vertically) and also if SCC movements prompt. Somehow this new SCC ends colliding for a frame (perhaps more) when their movespeed is large. The project operates during the 60fps without any fps get rid of and i allowed Fixed timestep towards operator.
I tried exploring your own code but it is too advanced to have us to understand it. Can there be one improve or small hack for this insect?
I am getting the same challenge with swinging networks in a task I am dealing with…and this seems unusual, whilst try obviously employed by my Mario opportunity. Likely to consider it. Basically the control doesn’t choose a floor into the platform and you can instead has gathering downward velocity of gravity, sooner or later phasing because of it.
You will see that if controller drops towards a good vertically swinging program otherwise leaps involved, new SCC skips the new moving system but finds the floor less than they
Yup, one thing that I have noticed is the fact that insect have a tendency to happen when clamping is handicapped towards the control. Was logging the name/mark of ground thought below the control. Consequently the control try stuck about fall condition for around the second (as if the scc try prohibited of the moving platform’s collider but instead of finding it. ) next rapidly goes through new collider and you can clamps toward surface less than (the one that are seen by the scc). Thus far, so it insect did not happens that have good horizontally moving platform but perhaps We have not tested her or him sufficient.
Hello there! Did any of you will find aside what was causing this issue? I’ve come across an equivalent trouble with systems which might be swinging vertically and cannot discover way to obtain the challenge in the new code, the SCC looks excellent if you ask me!
I’ve you to question to you personally, I do want to create NPCs instance Sheeps, how can i tailor it script to help with spheres having x/z offset?
Btw, I have optimized your own BSPTree program greatly, today it makes no allocations & is just about 100x shorter. You want they?
To alter the career of one’s spheres put, you’ll want to modify the CollisionSphere classification (used in SuperCharacterController.cs). At this time it has a single float entitled counterbalance that translates it up or down. If you wish to service directional offset, I might strongly recommend substitution which having a beneficial Vector3. You will need to posting the fresh SpherePosition approach also, that takes a crash areas and spends it is offset to choose in which for the Business Place it’s. There might be several almost every other small things however, that should function as fundamental stuff.
Up until now I enjoy it!
So far as a much better BSPTree, needless to say! Go ahead and submit it a pull request on head repo if you need.
“NullReferenceException: Object reference not set to an instance of an object SuperCharacterController+SuperGround.ProbeGround (Vector3 source, Int32 iter) (at Property/SuperCharacterController/Core/SuperCharacterController.cs:666) SuperCharacterController.ProbeGround (Int32 iter) (at the Assets/SuperCharacterController/Core/SuperCharacterController.cs:226) SuperCharacterController.SingleUpdate () (from the Possessions/SuperCharacterController/Core/SuperCharacterController.cs:194) SuperCharacterController.Modify () (during the Possessions/SuperCharacterController/Core/SuperCharacterController.cs:158)”
This new SCC wants here always to be a world soil in pro to make certain it has never clipped from the business. I always simply put an enormous limitless invisible box collider getting which purpose.
Some thing noticed in the project out of GitHub on SpaceZone world: 1) You will find an inactive target on the steps “Forgotten Prefab” which have a few youngsters. It is never triggered. Can it currently have a function? 2) The gravity script towards the “Player” possess an open “Planet” reference hence points to one of several people of “Lost Prefab”. We assume the answer to #step one commonly answer which but, what is the “Planet” resource carrying out?