Coder Social home page Coder Social logo

trashpanda's People

Contributors

blackspade741 avatar gabrielchan1 avatar gmdf avatar jialori avatar masonachu avatar peekoyin avatar wallace-wallet avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

trashpanda's Issues

Object sink into the ground after knocked over and stepped on

This issue can only be reproduced with flat objects, if object is not flat, the character will not be able to step on the object immediately after knocking it over.

As the titled describes, if you knock over a flat object and immediately step over it, it sinks into the ground. Potential search direction is how Unity handles collision with the ground (of the type Mesh Collider, Pro Builder Mesh).

CharacterController's collision detection issue

CharacterController does not offer any method to detect collision when staying still. The only collision detection function used by CC is OnControllerColliderHit, which is only called when a collision happens while CC is moving.

I spent a lot of time searching online for solving this problem, but it seems there is no clean way to do it. Potential solutions include:
a) keep the CC moving by small amount in each Update;
b) write code for collision detection in Update;
c) write your own character controller system using RigidBody [does not apply to this project]

I will add a couple links to the issue later that discusses solution for this issue.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.