G
G
greenmap2018-09-25 01:00:27
C++ / C#
greenmap, 2018-09-25 01:00:27

How to find out if there is a point (unit) in an object?

Let's say I want to spawn an object, let's say a cube at a point x,y,z, how can I determine if there are other objects at this point. There is some kind of MB function.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
F
freeExec, 2018-09-25
@freeExec

I think it's not a collider, but a cast. To check if the cube will interfere with someone here:
https://docs.unity3d.com/en/current/ScriptReferenc...

I
Igor Pugachev, 2018-09-25
@Igor_Velikiy

I think you need to use this - https://docs.unity3d.com/en/current/Manual/Collide...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question