Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently December 22nd, 2024, 10:02 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Drag And Drop
PostPosted: August 8th, 2010, 3:50 pm 
Offline

Joined: May 16th, 2008, 4:50 pm
Posts: 368
Location: Berghem The Netherlands
Opus: Opus Pro 9.75
OS: Windows 10
System: `HP
Is it possible to change the speed of a droped object thats returning to it's original positon.

Ad

_________________
Opus Pro v9.75
Windows 10 on HP EliteBook i7
http://www.csnmedia.nl


Top
 Profile Visit website  
 
 Post subject: Re: Drag And Drop
PostPosted: August 8th, 2010, 11:05 pm 
Offline
Godlike
Godlike

Joined: November 12th, 2005, 1:56 am
Posts: 1474
Location: SFBay Area
Opus: OpusPro v9.0x, & Evol.
OS: Vista32
System: Core 2 duo 2Ghz, RAM 3GB, Nvidia Go 7700 - laptop
Ad,

I think there is no direct way to change the speed for that motion. I think there are several ways to attack the problem though. Which alternative to pursue depends on whether you need this for just one object dropped, or a few objects, or will there be many Droppable-objects and several Drop-zones... etc.

You have more options if it is one or two objects and the User actions are predictable.
Even if many variations are to be handled, it can be done but is more complicated (for example, either using Clones for one method... or for a different approach, putting a Drag&Drop trigger on another larger Drop-zone and moving the dropped object manually.)

_________________
_good things come to those who wait(0)_


Top
 Profile  
 
 Post subject: Re: Drag And Drop
PostPosted: August 9th, 2010, 11:23 pm 
Offline
Godlike
Godlike
User avatar

Joined: March 21st, 2007, 10:44 am
Posts: 3188
Location: UK
Opus: Evolution
As Lar says, nothing built in but it should be quite straightforward to implement this.

Just turn of return to original position if not dropped; add a mouse down action that gets the object position and store this. I'd use OOP - IE attach the value as a property of the clicked object; add a mouse click action that performs the check.

You could probably combine a drop trigger with the last mouse click action to simulate the built-in successful drop check. Then you simply return to the stored position if not successful at whatever speed you like.

Mack

_________________
When you have explored all avenues of possibilities, what ever remains, how ever improbable, must be the answer.

Interactive Solutions for Business & Education
Learn Anywhere. Learn Anytime.

www.interaktiv.co.uk
+44 (0) 1395 548057


Top
 Profile Visit website  
 
 Post subject: Re: Drag And Drop
PostPosted: August 12th, 2010, 7:19 am 
Offline

Joined: May 16th, 2008, 4:50 pm
Posts: 368
Location: Berghem The Netherlands
Opus: Opus Pro 9.75
OS: Windows 10
System: `HP
Hi Mac,

What i did was turning off the return and tell the object to go back to a certain coordinate.
But the zone where the object was droped still thinks that the object is still there. I also use
the option to drop just one object at once on that dropzone. Do you have an example?

Have a nice day,


Ad

_________________
Opus Pro v9.75
Windows 10 on HP EliteBook i7
http://www.csnmedia.nl


Top
 Profile Visit website  
 
 Post subject: Re: Drag And Drop
PostPosted: August 13th, 2010, 11:50 am 
Offline
Godlike
Godlike
User avatar

Joined: March 21st, 2007, 10:44 am
Posts: 3188
Location: UK
Opus: Evolution
I'd say script the drops but this is quite involved and as the the whole D&D thing works differently depending on what your publication is trying to achieve its probably best to post an example and somebody will take a look and offer the best solution.

Regards,

Mack

_________________
When you have explored all avenues of possibilities, what ever remains, how ever improbable, must be the answer.

Interactive Solutions for Business & Education
Learn Anywhere. Learn Anytime.

www.interaktiv.co.uk
+44 (0) 1395 548057


Top
 Profile Visit website  
 
 Post subject: Re: Drag And Drop
PostPosted: August 13th, 2010, 4:57 pm 
Offline

Joined: May 16th, 2008, 4:50 pm
Posts: 368
Location: Berghem The Netherlands
Opus: Opus Pro 9.75
OS: Windows 10
System: `HP
Hi Mac,

I think i soved the problem. I did not use the action on the drag and drop but i use the collision trigger.
For the drop i use the dropzone so that it looks good, and for the release i use a script that brings the
object to the right place in the right time.
Thanks for the thinking.


Ad

_________________
Opus Pro v9.75
Windows 10 on HP EliteBook i7
http://www.csnmedia.nl


Top
 Profile Visit website  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 42 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group