- Home /
This question was
closed Mar 19, 2013 at 06:54 AM by
sona.viswam for the following reason:
The question is answered, right answer was accepted
Question by
sona.viswam · Dec 10, 2012 at 12:29 PM ·
java
Mid point of a object
I have a object with cube shape.
How to get mid point of x of that object in java script?
I have to make run another object on it.
Passing object should be exact in mid.
Comment
Best Answer
Answer by IT_Criminal · Dec 10, 2012 at 12:47 PM
for cube-shaped objects the pivot point is usually the center of the object ...
so you can use transform.position to get the pivot point(center) of it...
Follow this Question
Related Questions
How to change a string into integer 2 Answers
Mathf.pingpong 4 Answers
getting high score of game from asp.net page 2 Answers
,Roll a ball - project 0 Answers
Destroy a gameobject in start function 2 Answers