Quantcast
Channel: Questions in topic: "collisionhandling"
Browsing latest articles
Browse All 24 View Live

Collision Handling (Pushout and Sliding) for Customized Collision Object?

Hello everyone,Now I am using built-in CharacterController for collision handling, in order to limit my character by some collision boxes, which are used as boundaries of my world.However, the problem...

View Article



No 100% accurate physics/collision handling

I am new to Unity and experimenting the last few weeks, trying to create a 2D concept I had in mind. In those experiments I found out that the Physics engine is not 100% accurate, especially in...

View Article

Make platforms that collide with player from one direction but not the other.

I'm trying to make a platform object which the Character Controller can pass through if it collides with it from below or the sides, but does not go through it if he collides from above. An example of...

View Article

Collision response for a object

This is a newbie question and have not been able to figure this out. Requirement: Robotoid character is running and will encounter some hurdles like traffic cones. He can either jump and avoid the...

View Article

Character running up slanted walls.

Hi, I have a character with a physics body (rigidbody + capsule collider) and I'm using `MovePosition` on the rigidbody to move the character around. Everything works fine until it hit a slightly...

View Article


How do I stop a projectile cold when colliding with another object?...

This is an attempt to do a simple arrow-stuck-in-wall simulation. My question pertains to how I can get a more accurate reaction out of the collision. I'm Instantiating an Arrow prefab in front of a...

View Article

Detect OnCollisionEnter from non MonoBehaviour class.

Greetings, I have a class with a GameObject variable. The class doesn't inherit from any other class. The GameObject has a a Rigidbody and a BoxCollider components. public class Example { private...

View Article

Find axis of collision

Hi Guys, I am making a game that consists of 2 objects. 1) object A 2) Object B So when object A collides with object B, if need to find out the axis of collision with respect to object A. So I object...

View Article


onCollisionEnter not working for ContinuousDynamic collision detection mode

Hi Guys, I am working on a game that needs to change the collision detection mode from Discrete to Continuous Dynamic and then once it collided, back to Discrete. Well, it changes from Discrete to...

View Article


Adding a child problem

Hi! I have two object both have Collider2D attached with them, in the "OnCollisionEnter2D" method I add one object1 the the second object2. which works fine. First object1 is jumper, after adding, when...

View Article

Collision Response Algorithm for 3D Axis-Aligned Box Collider

Hello! I'm writing a game that doesn't need complex physics. For that reason I am giving any object that needs physics enacted on it a box collider and a rigidbody with all constraints turned on. This...

View Article

How to create a UnityScript array and access the data in each cell.

Hello everyone. I am not much of a coder but more of an artist. However, I do not know any coders so I have to do this myself. I am trying to make a game like Eye of the Beholder, Wizardry, Etrian...

View Article
Browsing latest articles
Browse All 24 View Live




Latest Images