Is there a way to combine matrix data?

If anyone can, please help me. Linear algebra is not my
specialty.
I am trying to make a function using the BitmapData.hitTest()
to see if two sprites on screen are hit.
I have got it working for sprites that are direct siblings
(ie they are on the root stage layer). However, if I nest sprites,
things get messy. The reason I want to test nested objects is so I
can test for collision with *parts* of other visual components, not
the whole thing as one.
I can get a proper tx, ty value for nested sprites by using
the localToGlobal functions, but these do not take into
consideration rotation. Is there something like localToGlobal that
works for an object's entire transform matrix (and if not, why
not?!)?
Does anyone have any advice?
The only thing I can think of is to go through a given
sprite's parents until it reaches the top (root) layer and collect
the matrix data on the way. But even if I do that, I don't know how
to add the matrices together properly. I am convinced I need to do
this. If I don't use the actual transform matrix, I cannot take
into account skewing, rotation, etc.

Well, I seem to have found a way to at least combine matrices
using the concat() method. Still, I have to cycle through each
parent matrix from the target sprite to the top level (stage) to
get a universal comparison.

Similar Messages

  • I apparently have 3 apple IDs, and it's making it challenging to set up iCloud. Is there a way to combine them into the one I actually use?

    I apparently have 3 apple IDs, and it's making it challenging to set up iCloud. Is there a way to combine them into the one I actually use?

    You can't combine or merge iCloud IDs, but you can migrate the iCloud data from one account to another if you wanted to move it to a different ID.

  • HT1451 I ripped a 2-cd album to iTunes on my PC.  It downloaded as 5 separate albums.  Is there a way to combine those back into one album?

    I ripped a 2-CD album to iTunes on my PC.  It downloaded as 5 separate albums.  Is there a way to combine those back into the original one album?

    Yes there is tho it may get pretty redundant if you have many 2-CD albums as i had once. Using the "control" key select all five albums. Right click the selected albums and select "Get Info". If this is your first time it may ask you if you are sure you want to edit multiple albums. Click "Yes". Fill in / affirm the correctness of the grid in fron of you. Check all of the boxes BUT THE TRACK #  BOXES AND ARTWORK . This will tell iTunes that all of the albums are one and the same. click "ok". One album with the correct title should appear. Select all the tracks that were on the second disk and again right click and select get info. enter into the disk # space "2" of "2". If your version of iTunes is up-to-date this will make it a 2 disk album. If you would like you get select "Get Info" again just to make sure all is good.
    Hope this helps.

  • Is there a way to combine the bookmarks from Internet Explorer with bookmarks added while using Firefox?

    I have a bookmark file on the toolbar called "From Internet Explorer." I have also added bookmarks while using Firefox. Is there a way to combine these lists?

    This link shows how - https://support.mozilla.com/kb/Importing+favorites+and+other+data+from+Internet+Explorer

  • Is there a way to darken the dates (numbers) on ical. After installing Lion I can barely read the dates of the month in ICal

    Is there a way to darken the dates (numbers) on the ICal calender. I can barely read mine after installing Lion.

    I should note that the time stays on the left of the event name when I re-enter the text (which I had to do all the time before I found the "show event times" button) so I feel like there's a way.

  • I have two apple id's. Is there a way to combine them?

    I have two apple id's   Is there a way to combine them?
    I have on id.   xxxx.xxxx@gmail. com (This account in gmail was hacked so I no longer use this id) and this was associated with my first MacBook Pro.
    I purchased another Macbook Pro and set up an ID using [email protected]
    In ITunes....there is music associated with the gmail account that I cannot play.
    Is there a way to combine the two Id's so I can play all my music.   I am keeping the [email protected] id.

    Apple IDs can’t be merged. If desired, click here and ask the iTunes Store staff for assistance.
    (120537)

  • My iPhone 5 has broken and is being replaced with a new iPhone tomorrow. However, My carrier (orange) will b picking up my broken iPhone and I am unsure how to secure the content and icloud data on the broken phone. Is there a way to display the data?

    My iPhone 5 has broken and is being replaced with a new iPhone tomorrow. However, My carrier (orange) will b picking up my broken iPhone and I am unsure how to secure the content and icloud data on the broken phone. Is there a way to disable the data held on it and ensure that if it is fixed, nobody can use/see my data and access my account?

    Hi Gazpan,
    Thanks for visiting Apple Support Communities.
    I recommend using the steps in this article to back up your iPhone if possible:
    iOS: Back up and restore your iOS device with iCloud or iTunes
    http://support.apple.com/kb/ht1766
    You may also find this advice helpful for your situation:
    What to do before selling or giving away your iPhone, iPad, or iPod touch
    http://support.apple.com/kb/ht5661
    If you no longer have your iOS device
    If you're using iCloud and Find My iPhone on the device, you can erase the device remotely and remove it from your account by signing in to icloud.com/find, selecting the device, and clicking Erase. When the device has been erased, click Remove from Account.
    If you're unable to complete either of the above steps, you should change your Apple ID password. Changing your password won't remove any personal information that is cached on the device, but it will make sure that the new owner can't delete your information from iCloud.
    Cheers,
    Jeremy

  • Is there a way to combine the best of slideshow and tooltip widgets?

    I am trying to produce a sliding menu similar to the "Now Playing" movies listed on this website : http://themoviehouse.com/   
    where you can mouse over and a box pops up and stays up so that you can click links within the box. The catch is that I need this box to disappear when the mouse is not on it so that content behind the box is again visable.
    I have seen this on so many websites so I assume can build this in Muse.
    Obviously with tooltip the box does not stay open. With a slideshow, the box does not disappear when you are done.
    Is there a way to combine the two or is there another widget that allows me to create what I am looking for?

    Install the Apple Configurator (osx only) and it will cache the iOS update on there after it's been installed once.  From then on each device you plug-in will take the update from Apple Config without having to download it.  I have this setup on a macbook air and it saves me a lot of time.
    The updates are device specific so make sure you update one iPhone 4, one 4S, one 5, one iPad etc before heading out to sea.  I thought installing the update on an iPhone 4S will work on an iPhone 5 but the first iPhone 5 I connected needed to download.

  • Is there a way to display the date and time on my officejet 6500

    HP Officejet 6500a Plus Windows XP_ Is there a way to display the date and time on the display of my printer

    Are you referring to the Date and Time some cameras put right on the image?  If so there is nothing really good in iPhoto to do this. You could try the Retouch tool and see how that looks but I think you will need something more precise and powerful, like the clone tool in Aperture.
    Also something like PhotoShop or GIMP - The GNU Image Manipulation Program (free) should do what you want also.
    If your asking about some other date post back.
    regards

  • HT4859 How can I verify that my App data is actually stored in iCloud. With Dropbox, I can actually see my stored files. With iCloud, itseems I'm supposed 2 just trust that Appl has the data. Short of doing a restore is there no way to check the data?

    How can I verify that my App data is actually stored in the iCloud. I can see and access my notebook, contacts etc. on the iCloud website, and I can see my photos in a folder on my Windows-based desktop compter (iCloud/Photostream). But no app data.
    With Dropbox, I can actually see all of my stored files. With iCloud, it seems, I'm supposed to just trust that Apple has my back. Short of deliberately trashing my app data and then attempting a restore, is there no way to check the data?

    You can't access them on Windows (unless you have iCloud enabled Windows programs) and I don't think any are, yet.
    iCloud data is accessed via Apps/Programs, the Windows programs vendors will have to step up (just to make it worse Microsoft have not yet enabled their Mac programs, such as Office yet) I doubt that iCloud access is much of a priority for them, complain to MS, when enough Windows users complain maybe they'll do something.

  • One of the folders on my external hard drive has transformed into a unix executable file and I can no longer access my files. Is there any way to save the data?

    One of the folders on my external hard drive has transformed into a unix executable file and I can no longer access my files. Is there any way to save the data?

    Wow, have seen Files do that, but a whole Folder as I recall!
    Could be many things, we should start with this...
    "Try Disk Utility
    1. Insert the Mac OS X Install disc, then restart the computer while holding the C key.
    2. When your computer finishes starting up from the disc, choose Disk Utility from the Installer menu. (In Mac OS X 10.4 or later, you must select your language first.)
    Important: Do not click Continue in the first screen of the Installer. If you do, you must restart from the disc again to access Disk Utility.
    3. Click the First Aid tab.
    4. Select your Mac OS X volume.
    5. Click Repair. Disk Utility checks and repairs the disk."
    http://docs.info.apple.com/article.html?artnum=106214
    Then try a Safe Boot, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, reboot when it completes.
    (Safe boot may stay on the gray radian for a long time, let it go, it's trying to repair the Hard Drive.)

  • If meta data LUN is totaly destroied , is there any way to rebuild the data from the video LUN

    If meta data LUN is totaly destroied , is there any way to rebuild the data from the video LUN ????

    What happened to your metadata? Are you sure the metadata is gone?
    In theory, file carving could be attempted on the data LUNs, but you would need a tool that understands how Xsan lays out data across LUNs in a stripe group and hope your fragmentation isn't too bad. I doubt such a tool exists, but if one does it almost certainly is not publicly available. You should probably contact a data recovery service with experience recovering data from Xsan. Do that before you do anything else if this data is really important.

  • Is there any way to retrive the data from my USB Key

    Hello,
    I have a usb key I have been using on a Win 7 desktop computer and a Mac Book Air to put in Data on a spread sheet.
    I interchange to put in the data between the computer and my MBA without any problem.
    I am today not able to open the usb memory key in either-Computer or the MAC Book Air.
    Does that mean I have a coruppted USB memory key and the data lost for ever?
    I have just put the USB memory key in my computer and it says File System CDFS.
    I put it in MAC Book Air and it would not open either!!
    Is there any way to access my data. I have no back up...

    If the USB drive won't mount on either computer, it's probable that the drive has failed, in which case it's unlikely that you can recover any data from it. You can do a web search for something like "flash drive file recovery" and you'll find a number of utilities that purport to do file recovery, but all the utilities I'm familiar with require that the drive at least be mountable. There may be services that could attempt recovery, but they tend to be expensive.
    The moral of the story is: never have only a single copy of a critical document, and if you must, never, never have your single copy only on a flash drive (or floppy, for those "old timers" who still use floppies).
    Regards.

  • Is there any way to print  the data inside  the Notes field of MIR6 Report

    Hello Gurús.
    We need to include the data inside the Notes field in the report MIR6 - INVOICE OVERVIEW - report.
    Is there any way to print  the data inside (comments)  the Notes field as well in the Report  ?
    We found that the only way is to open the Notes and print it, but it takes time, any idea ?
    Rgds.
    MCM.

    There's nothing built-in that does that. If you only have text fields and they don't have any formatting or other property that would prevent it (e.g., Date, character limit), you can run a simple script to populate each field with the field name, and then print. A more complicated approach would be a script that adds text annotations near/over each field that shows the field name. This would just be for documentation purposes, but it's possible. Post again if you'd like help with the first. You'll probably have to pay someone for the second approach if you don't want to do it yourself.

  • Iphone 3GS was dropped and will not turn on or respond to USB connection.  Is there any way to extract the data off when it is not responding so that I can restore to my new phone?

    The phone is physically intact, but you can see the LCD is cracked behond the glass. I have tried plugging it in, tried putting it on the charger, and resetting it using the off and home buttons, bit response. I don't need the phone to work, but I do need to be bale to back it up in order to restore to the new phone.  Is there any way to extract the data or back up the hard drive without repairing the phone?  Just curious what my options are before I spend cash trying to fix the phone and find out there was another way to get the data.  Any thoughts here or should a good repair shop being able to create a backup somehow?

    Im not going to be much help because I don't know of anything else to besides take it somewhere that fixes electronics and see if they can get it off some how maybe if you take it to an apple store they can do something to get your information.

Maybe you are looking for