Welcome,
Guest
. Please
login
or
register
.
April 19, 2026, 11:33:19 PM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Collision on buttons with dragobject attached?:
« previous
next »
Print
Pages: [
1
]
Author
Topic: Collision on buttons with dragobject attached?: (Read 2187 times)
J450NP13
Guest
Collision on buttons with dragobject attached?:
«
on:
November 26, 2013, 08:52:02 AM »
I have some buttons using NGUI and I have the object drag script attached to them to be able to drag them around. They have their own colliders attached as well obviously.
Is there a way to make them collide with other buttons so they do not overlap each other.
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: Collision on buttons with dragobject attached?:
«
Reply #1 on:
November 26, 2013, 11:17:25 AM »
Technically, yes... but you have to switch their colliders to not be triggers, and move them using physics. This involves adding rigidbodies to them, and moving the rigidbody.
Logged
J450NP13
Guest
Re: Collision on buttons with dragobject attached?:
«
Reply #2 on:
November 26, 2013, 11:39:41 AM »
Would that be the proper way to go about this? Am I going to get any crazy rigidbody movement?
Logged
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Collision on buttons with dragobject attached?: