Questions tagged [collision-avoidance]
The collision-avoidance tag has no summary.
63 questions
2
votes
2
answers
126
views
Improving local collision avoidance to navigate around large obstacles
For my collision system I’m using a boids-like method that works fine for "small" obstacles (like other characters) where the character can turn slightly left or right to avoid the obstacle ...
1
vote
1
answer
131
views
Flying AI shakes when chasing and avoiding obstacles simultaneously
I've got a problem with my flying AI in Unity. When it just chases a target it's ok, but my system contains avoiding obstacles so when it starts to do it, it shakes weirdly.
As I understood using <...
1
vote
0
answers
239
views
steering behaviors collision avoidance: vehicle shaking before arrive at destination
I have made a test sketch of collision avoidance using javascript, as you can see right here.
I want the vehicle to move to the clicked location, avoiding obstacles on the way. It is working, but not ...
0
votes
0
answers
606
views
how to create something similar to warcraft 3 local avoidance?
I want to write a script that can lead to something like https://gyazo.com/90d3a0ec82a41f53c831b00c403dc7df (to surround the enemy through local avoidance).
i am using navmesh unity, to solve this ...
2
votes
0
answers
3k
views
How to make pathfinding agents avoid each other using A* in unity?
So far Ive implemented a 2D grid graph using 2D physics. My enemies have a seeker script, AI destination setter (with the player position attached) and a basic AIPath script that is set to 2D
When I ...
0
votes
1
answer
290
views
Intersecting ORCA lines finding non-optimal solution for fast units
I've decided to implement my own algorithm for optimal reciprocal collision avoidance. It doesn't use linear programming, but iteratively projecting velocity on intersections of ORCA lines and checks ...
1
vote
0
answers
304
views
RTS Pathfinding without collision between units Options
Ever since I made my units move to a certain location a problem has popped up that of course if I try to make two or more units go to the same place they fight for the same spot. Am I just being ...
0
votes
0
answers
98
views
How can I spawn objects in a volume without intersection?
I am generating a 3D scene that involves spawning lots of 3D objects in a finite volume. I need to avoid intersection of objects.
0
votes
0
answers
980
views
How do I keep a rigidbody from making unnecessary collisions on smooth surfaces in Unity3d?
I have been having trouble with a custom character controller I am making. The root of the problem lies with collisions. I am trying to make movement code, but I have a problem with ground movement. ...
1
vote
1
answer
835
views
Enemies overlapping
I have a simple WebGL maze game and has problem with enemies overlapping when they are going to target position. Now i'm detecting there collisions, but dont know what to do with them when they are ...
0
votes
1
answer
293
views
how to sync clients and local avoidance in mobile RTS game?
I have been making mobile RTS game in Unity look like Clash Royale similarly.
Unfortunately, I faced to two big problems.
First is two phones(clients) to be synchronized each other in game state.
...
1
vote
2
answers
739
views
How would I go about implementing a collision avoidance check, avoiding moving objects from multiple directions?
So I'm making a testbed for an AI actor(ship). It's a simple asteroids game using an AI controlled actor.
I'm doing this using VS, monogame.
I have implemented a simple steering behaviour using a ...
1
vote
1
answer
495
views
How to prevent cube intersecting with other objects when moved around with mouse?
I want to allow the player to freely place cubes anywhere they like in 3D space, but the cube being moved around is not allowed to intersect with other objects.
Currently I do a ray cast based on ...
3
votes
0
answers
2k
views
Simple 2D Fish Obstacle Avoidance
I am currently working on a simple obstacle avoidance system in unity. I have a player and a school of Ai fish that are traveling in a fixed direction (Down-Right). While swimming, I want the Ai fish ...
0
votes
1
answer
502
views
How to make one box Collider 2D go through another in Unity?
How can I make one Box Collider 2D go through another one in Unity? I tried this, but it seems to work only for ordinary Box Collider, but not for Box Collider 2D.
1
vote
0
answers
197
views
Explain Reciprocal Velocity Objects to me
This is follow-up on this question (Unit collision avoidance for RTS)
I'm developing an RTS. I'm having difficulty with collision detection... I looked up RVO and it seems like the correct solution, ...
1
vote
0
answers
174
views
Collision for array of pathfinding zombies to array of blocks
Relevant Background Information
I'm an eleventh grade high school computer science student in Canada. I'm doing pretty well in the course currently, I have a 96 in the course currently. We're working ...
8
votes
2
answers
805
views
3D collision avoidance: finding the updated velocity vector (outside the "collision-velocities" cones)
I am trying to understand and implement the mechanism of a fully 3D collision avoidance (steering behavior) system for flight movement (six degrees of freedom), currently focusing on circumventing ...
8
votes
2
answers
3k
views
Pathfinding and collision avoidance on mobile
Currently I'm developing a Diablo like game for mobile platform(iphone5+).
A simple A* search will find the path, but collision avoidance still needs to be taken into consideration.
There will be ...
17
votes
3
answers
12k
views
How is RTS Local Avoidance Done?
Currently, I'm simulating physics impact forces for local avoidance of units but this method sometimes pushes units out of formation and has very undesirable effects when units clump up.
For RTS ...
1
vote
3
answers
17k
views
Find closest point on NavMesh if current target unreachable
I have a mock environment set up with a cube that has a specified "Not Walkable" layer.
I'm using NavMeshAgent and NavMeshPath to set destinations of the player.
The way I'm setting paths is by ray-...
1
vote
1
answer
271
views
How can my entities avoid walking on certain tiles?
In my tile map, created with 'Tiled', I placed some tiles that need to be avoided by my mobiles. Tiles like water or obstacles.
The entities "wander" in the map, choosing random directions, and their ...
3
votes
2
answers
623
views
Find a position within one radius, but outside other radii
I have an Object A which will attempt to stay within a certain distance of another Object B. I would like Object A to also try to stay outside a certain distance of one or more other Objects R.
The ...
5
votes
1
answer
2k
views
Avoidance Steering Behavior acting inappropriately
I've been trying to implement this steering behavior in Unity: Understanding Steering Behaviors: Collision Avoidance
However, I'm getting strange results. Here's the code for the script, feel free to ...
1
vote
1
answer
129
views
How to convert strict limit in position into gradual slow down?
The player moves a spell object, the spell must stay withing a certain range of the player. The spell is moved using a physics system and it has mass and velocity. Currently when the spell goes out ...