|
Russell Hansen
Texi pets are here!
Join date: 11 Apr 2006
Posts: 107
|
07-16-2006 02:28
OK, can't you have both a grab and a touch active at the same time? My object has both touch_start and touch_end, and no matter what grab status I set, it won't budge using any of the shift-alt-mouse combo's. If I delete all my touch code, it works. I created a brand new object with a default new script. The shift-grab and alt-grab stops working, but the shift-alt-grab still works. Remove the touch event, and everything works again. Is this what it's supposed to do?
|
|
Eloise Pasteur
Curious Individual
Join date: 14 Jul 2004
Posts: 1,952
|
07-16-2006 07:34
It's a long, long time since I've done this, but I have a vague memory of llPassTouch() allowing you to have both.
My apologies is it doesn't work, the wiki doesn't look very promising for it, but it's worth a try.
|
|
Russell Hansen
Texi pets are here!
Join date: 11 Apr 2006
Posts: 107
|
07-16-2006 14:57
I'd be very surprised if it did, given what it is used for, but I guess I should at least try first. I'll give it a go when I get home tonight. I tried turning my object physical to see if that'd make a difference, but that just made it fall over Does anyone have a touch object that they can grab and move around with the alt-shift-mouse controls? As an alternative, is there any way to turn touches off for the period I want my object movable? How does one make objects movable without editing? I don't really want to implement some chat or hud controlled motion.
|
|
KStarfire Rich
Registered User
Join date: 19 Apr 2006
Posts: 8
|
07-16-2006 18:12
Have you tried just using touch instead of start_touch... not sure if that would do anything. Also if you can maybe put all the code into end_touch which would still trigger after a drag.
|
|
Russell Hansen
Texi pets are here!
Join date: 11 Apr 2006
Posts: 107
|
07-16-2006 19:40
My specific object is already doing a bit, with a short touch activating one function, adna long one activating another. I have flags set in touch_start, and most of the work being done in touch_end. The testing have done seems to indicate though, that ANY touch event affects with part of the grab controls work, it's only with no touch events at all that they work as expected.
|