|
| 08 Aug 2011 03:34 PM |
| I've got a newb question. When you use MoveTo, it won't work if there are objects above the desired location. Is there a workaround for this? It still happens even when there is enough room for the object being moved. |
|
|
| Report Abuse |
|
|
ThePHPguy
|
  |
| Joined: 05 Aug 2011 |
| Total Posts: 35 |
|
|
| 08 Aug 2011 03:37 PM |
Hello dark,
is there just enough room or does it have some space? Because if there's just enough room then the collision detection will usually be fired, being that they will be touching. |
|
|
| Report Abuse |
|
|
|
| 08 Aug 2011 03:38 PM |
| There's enough room that the object can fit without touching anything but the base. |
|
|
| Report Abuse |
|
|
barl99
|
  |
| Joined: 28 Dec 2009 |
| Total Posts: 2318 |
|
|
| 08 Aug 2011 03:38 PM |
| MoveTo... Hmm.. Couldi use this instead of changng the position? |
|
|
| Report Abuse |
|
|
ThePHPguy
|
  |
| Joined: 05 Aug 2011 |
| Total Posts: 35 |
|
|
| 08 Aug 2011 03:39 PM |
| Can we see exactly what you tried? |
|
|
| Report Abuse |
|
|
|
| 08 Aug 2011 03:43 PM |
| Just the regular MoveTo function. I'm just going to change the CFrame.Position; that works. |
|
|
| Report Abuse |
|
|
barl99
|
  |
| Joined: 28 Dec 2009 |
| Total Posts: 2318 |
|
|
| 08 Aug 2011 03:44 PM |
| If your moving something (Which i guess you are :P) Couldn't you use CFrame making it able do go through things. |
|
|
| Report Abuse |
|
|
barl99
|
  |
| Joined: 28 Dec 2009 |
| Total Posts: 2318 |
|
| |
|
ThePHPguy
|
  |
| Joined: 05 Aug 2011 |
| Total Posts: 35 |
|
|
| 08 Aug 2011 03:47 PM |
| I think the most likely problem is that the MoveTo function moves from the PrimaryPart of the model, so if you have a strangely shaped model and/or the PrimaryPart isn't centered then you could run into this problem. |
|
|
| Report Abuse |
|
|