Adjusting Y axis so due north/south changes...

Hi all,
I need to know how to change the Y axis angle from being north/south to say 45degrees to the left... I'm not using a rotation interpolator so setAxisOfRotation is now good...
Basically what I want to do is to be able to drive a "rocket" around the screen. The following is the code I use to rotate the rocket left/right but I then want the 'w' and 's' button to move the rocked north/south on the augmented Y axis..
int n = 0;
public void keyPressed(KeyEvent e) {
//Invoked when a key has been pressed.
if (e.getKeyChar()=='d') {
     n--;
          trans.rotZ(Math.PI/18*n);
          //trans.setTransformAxis(Math.PI/18*n);
if (e.getKeyChar()=='a') {
     n++;
     trans.rotZ(Math.PI/18*n);
     // trans.setTransformAxis(Math.PI/18*n);
if (e.getKeyChar()=='w') {
     yloc = yloc + .1f;}
if (e.getKeyChar()=='s') {yloc = yloc - .1f;}
Any help would be really appreciated...many thanks...

Hi all,
I need to know how to change the Y axis angle from being north/south to say 45degrees to the left... I'm not using a rotation interpolator so setAxisOfRotation is now good...
Basically what I want to do is to be able to drive a "rocket" around the screen. The following is the code I use to rotate the rocket left/right but I then want the 'w' and 's' button to move the rocked north/south on the augmented Y axis..
int n = 0;
public void keyPressed(KeyEvent e) {
//Invoked when a key has been pressed.
if (e.getKeyChar()=='d') {
     n--;
          trans.rotZ(Math.PI/18*n);
          //trans.setTransformAxis(Math.PI/18*n);
if (e.getKeyChar()=='a') {
     n++;
     trans.rotZ(Math.PI/18*n);
     // trans.setTransformAxis(Math.PI/18*n);
if (e.getKeyChar()=='w') {
     yloc = yloc + .1f;}
if (e.getKeyChar()=='s') {yloc = yloc - .1f;}
Any help would be really appreciated...many thanks...

Similar Messages

  • Rebate Agreement - No correction due to value change

    Dear Friends,
    I am facing a problem in Rebates. When I am opening the Rebates Agreement, the system prompts the following message "The sales volume for agreement _________ is not current." I have tried using the T-Code VBOF but the system prompts for the following error -
    9202507314 (Billing Doc No) No correction due to value change
    9202507363 (Billing Doc No) No correction due to value change
    I have checked both the billing Document and checked for changes but there is not changes that was made to the billing Document.
    Kindly suggest a solution.
    Reagrds
    Vineet Jain

    Dear Vineet,
    I have the same problem while running VBOF few billing documents are showing as not updated with the message "No correction due to value change".
    But I have found that those documents are belongs to other agreements of the same customer number.
    Can you please help me, which sap note should apply to over come this error message.
    Thanks in advance.
    Anjan Kumar.

  • Reminder Workflow does not recalculate new date to send email, if due date is changed

    I created a basic reminder workflow using due date, and status column. it works well.
    Let's say, I want to send a reminder email 2 days prior to the due date.
    I used Add -2 to due date and set a variable
    then used Pause variable
    if status is not equal to completed
    then send email
    And I have this set to initiate when a new item is created, and modified.
    However, if the due date is changed, it does not recalculate the new date to send the reminder email.  Help!

    Hi MonalisaM,
    The in-progress workflow instance will be unable to re-start itself when list item is modified, but I think you can design workflow with using the second workflow to update the list item one filed, then this update triggers
    the first workflow again.
    Stop this reminder workflow (first workflow) when due date is changed, then this will trigger the second workflow to change another custom column(e.g. Flag), then the first workflow will be triggered due to this custom column
    Flag value changed by second workflow, I mean the second workflow is used to upadate this custom list item one filed(e.g. Flag) in order to trigger the reminder workflow(first workflow).
    You can read the following article for more information to understand how to make the first workflow re-start by using second workflow.
    http://sharepoint713.blogspot.com/2011/09/sharepoint-designer-workflow-to-send.html
    Thanks
    Daniel Yang
    TechNet Community Support

  • How do I get rid of navigation icon (north, south east west)

    How do I get rid of navigation icon (north, south east west) Comes on automatically since I use the bamboo tablet.
    thank you
    Amelia

    Not sure, but that might be the Rotate View Tool. However, that should only show up when the tool is actively being used (not just when it is selected). It could have something to do with multi-touch capabilities that the table may have (two finger rotation should allow the canvas to rotate), but that also shouldn't cause the compass to appear.
    A screen shot would help verify what you are seeing.

  • 6110 - 1 or more alarms missed due to time change

    Wheneevr Is et a calendar alarm it does not go off, but instead, when I check the calensdar, I get the "1 or more alarms missed due to time change" message.
    Now - the time has not changed (other than to increment by the second as one would expect); the time is not being updated by my network provider (this option is disabled by default), so what is the problem?
    How can I avoid this? Does the calendar alarm function actually work?
    [Latest 3.58 firmware, phone was reformatted with the new firmware too]Message Edited by 6110nav on 29-Aug-200701:06 PM

    I can create this error on demand on my 6120 Classic. Very easy:
    1) Enter the calender mode.
    2) Delete all entries and alarms before current date (just for the purposes of ensuring there are actually no alarms that could have been missed).
    3) Enter a new alarm today, say 2 hours from now. Set the alarm to go off 1 hour from now (the times can be anything in the future, so long as you can complete the rest of these steps before the alarm should go off).
    4) Turn the phone off.
    5) Turn the phone on.
    6) Enter the calender > "1 or more alarms missed due to time change"
    If you create the meeting with no alarm, you don't get the error. If you create a memo or any of the other calender entry types, you don't get it. You get the error with the steps above and NO other entries in the calender. It is independent of using "network operator time" and independant of any of the "sync" options for the reminder. I have on occasion have the error come up without having to restart the phone, but I believe that was when the day has gone from yesterday to today with an alarm set to go off today, and it'll show the error the very next time you enter the calender in this situation.
    I went to the place I bought my phone and asked for a free swap (seeing as I bought the phone within 30 days), and the new phone did exactly the same, first time. I kept the old one, and will be giving it to the local Nokia Care shop tomorrow. WHEN (not if!) they can't fix it (seeing as I have the latest firmware, and even another brand new phone did the same error in 10 seconds flat), Nokia will have to make a new firmware! Hopefully you guys with the 6110 can recreate the error in this exact same way - I assume yours run on S60 too.

  • I bought a new keyboard for my iMac (10.5) but the f1,f2,f3, etc. buttons don't work. Rather, f14 is the adjustment for brightness. How do I change it back to normal?

    I bought a new keyboard for my iMac (10.5) but the f1,f2,f3, etc. buttons don't work. Rather, f14 is the adjustment for brightness. How do I change it back to normal?

    Certain older Macs can't use later version Apple keyboards.
    Various aluminum models were compatible with later model
    G5 PowerMac and iMac, while the older could only use older
    model keyboards. Third party USB keyboards from a variety
    of makers other than Apple may work OK.
    Be sure the Mac OS X is updated to the last Combo and
    then see if there is any other software update is available.
    Not sure now (years have gone by) if there was a firmware
    update applicable to the older Macs so they could use later
    metal keyboards. I'd found several white USB polycarbonate
    Apple keyboards to work with most of the last PPC Macs;
    and bought spares as available, metal / newer didn't work
    with mine. Several white plastic ones can work w/ intelmac.
    There were keyboard model numbers (Apple) noted to work
    with aluminum PowerMac G5, while others that look other-
    wise identical (except number on keyboard) did not work...
    Too new, and they weren't supported. Worked w/Intel-Mac.
    Good luck & happy computing!

  • 1532E MAP disassociating - Cause=Radio reset due to configuration change.

    Hello,
    have a1532E MAP with WLC 2504 and 7.6.100.0 that shows oddly enough "Cause=Radio reset due to configuration change" and the interface resets.
    Any idea how this comes about without any changes made.
    Relevant log attached.

    After updating to 7.6.120 we've noticed that some of our AP's wouldn't  come up. After looking in the switch's logs I found this
    chassis: Ports  PoE usage has exceeded threshold of 80%.
    The power drawn is 117w (show power-over-ethernet). 
    When I use the following command: show power-over-ethernet brief I get this:
      PoE   | Power  Power    Alloc Alloc Actual Configured  Detection   Power Pre-std
      Port  | Enable Priority By    Power Power  Type        Status      Class Detect
      ----- + ------ -------- ----- ----- ------ ----------- ----------- ----- ------
      1     | Yes    low      lldp  17 W  7.0 W              Delivering  3     off
      2     | Yes    low      lldp  17 W  7.0 W              Delivering  3     off
      3     | Yes    low      lldp  17 W  6.8 W              Delivering  3     off
      4     | Yes    low      lldp  17 W  7.1 W              Delivering  3     off
      5     | Yes    low      lldp  17 W  7.0 W              Delivering  3     off
      6     | Yes    low      lldp  17 W  6.9 W              Delivering  3     off
      7     | Yes    low      lldp  17 W  6.8 W              Delivering  3     off
      8     | Yes    low      lldp  17 W  6.7 W              Delivering  3     off
      9     | Yes    low      lldp  17 W  6.9 W              Delivering  3     off
      10    | Yes    low      usage 17 W  0.0 W              Disabled    3     off
    Port 10 is where the missing AP is on. 
    How is it possible that after the update to 7.6.120 the AP won't work anymore?

  • [svn] 3966: Fix incremental compile which broke at some point since Flex 3 due to compiler changes .

    Revision: 3966
    Author: [email protected]
    Date: 2008-10-30 06:40:39 -0700 (Thu, 30 Oct 2008)
    Log Message:
    Fix incremental compile which broke at some point since Flex 3 due to compiler changes.
    ResourceManager.fetch() assumes a local file and uses java.io.File to check if the file exists. Files within swcs such as framework.swc$Assets.swf and framework.swc$default.css will never exist so they triggered a recompile. For now, put the dependency on the swcArchive file itself since that does exist in the file system.
    The dependency checking is still weak and could use some more work but at least now it doesn't recompile every time when there are no changes.
    QE Notes: None
    Doc Notes: None
    Bugs: - SDK-17715
    Reviewer: Paul
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-17715
    Modified Paths:
    flex/sdk/trunk/modules/webtier/j2ee/servlet/src/java/flex/webtier/server/j2ee/BaseCompile Filter.java

    I enabled the settings in the labview.ini
    I found some text files that looked like logs "LabVIEW_8.5_Matt_cur.txt" "LabVIEW_8.5_Matt_log.txt". Which contained some error logs and call after I tried to compile. I attached some logs from my attempts to compile. For the errors that referenced a vi and a statechart guard, I remade the vi and the referenced guard. The others all have
    ..... /drawmgr.cpp(3570) : DAbort: Couldn't create 24 pen Error ==0
    in common and some had a
    ....../image.cpp(13927) : DWarn:  could not get hdc error = 0
    warning. I'm guesing these are related to the graphical problem I'm getting with explorer. But since I can't decode the call stack I'm not sure what the source is (assuming the cause is within the call stack).
    It looks like LV 8.6 Beta is going to open soon. Does anyone know if Vision will work with it? And Is there any kind of obligation to use the beta regularly? Since if it doesn't help much, I'd probably just end up removing it.
    Matt W
    Attachments:
    errors.zip ‏7 KB

  • Collection Segment closed due to configuration change

    Hi
    Our collection supervisor had created new collection groups and assigned them to the colleciton segment. But when she goes into the UDM_BP_GRP transaction to change the collection group assignment to the BP, she is getting this error message:
    UDM_BUPA_MSG002 - Collection Segment closed due to configuration change
    But the collection segments are still released, assigned to the collection profile. Nothing has changed except that new collection groups have been added.
    Has anyone seen this issue before?
    Thanks,
    Chait

    Mark,
    Thanks for your reply. The new groups are assigned to the collection segments in the same profile. I tried to change the profile manually in BP thinking that would refresh the segments. But it did not make any difference. Note that it is UDM_BP_GRP that is not working, we can still change the group in the BP directly (UDM_BP).
    I never had this issue before and I couldn't find anything on OSS.

  • Due to attribute change run(sid's is missing)...process chain is failed

    Hi All,
    Due to attribute change run (SID's is missing) process chain is failed.kindly suggest me how we can rectify for this issue.
    Thanks
    Ragav

    if master data is loading at same time while the attr/hier change run is occuring,it cause the change run to fail.
    Usually u get error message like..user ALEREMOTE has locked the MD tables..
    Wait for some time and then try attr change run manually by going to rsa1->tools->apply hier/attr change..
    if it still shows locked..try to see in rsmo if a MD load has got stuck..
    else..see in sm12 to find lock is on which tables..
    last resort..delete lock forcefully from sm12..
    first option is wait for some time and give a try again..
    cheers,
    Vishvesh

  • How to create multi axis graph with 2 on change of fields and 2 values

    Hi all,
    i am working for a Semi conductor company and I have been madated to evaluate Crystal report 2008 in order to include it in our legacy software.
    So I have tested the soft and it seems to fit to our need.
    But I have a question...
    Here is a scenario i want to create in crystal but I have an error message..
    Can you please tell me if twant I want to achieve is feasisible...and if so how ?
    Thank you
    I would like to create a percent bar chart that contains 2 on change of fields and 2 show values.
    The idea behind in then to have a mutli axis chart in order to print as a line the second values.
    So the first values will be my bar chart in percentage and the second value will be a sum.
    Hope my description is cleat...
    Thank's in advance for your support...
    Have a good day

    There are different ways to achieve that. The simplest i could recall is to have 2 different charts, 1st bar chart and 2nd a line chart, lay one over the other and enable the transparency on the chart which on Top ( say Line ). also, crystal will allow you to control axes etc and make them transparent..

  • After adjusting the levels in a file the changes don't stay. How do I fix this?

    Hello helpful people,
    I'm running Photoshop CS5 on an iMac. I started with a scanned tiff that was emailed to me, a black on white ink drawing. I changed it from a tiff to a greyscale image and saved as psd, then converted it to RBG 8bit. When I open the psd file I see that it's in RBG 8 bit and there's no asterisk (*) by the file name, so my work space and file are compatible. I tried to adjust the layers to dull the black lines in the drawing, and although I can see the changes in preview, the corrections don't stay and the image reverts back to the original bold, black lines. I decided to change my background layer to a regular layer and make the edits there. However, when I change my background layer by unlocking it and changing the name, I notice that my file suddenly has an asterisk (*) after the name and my same attempts to change the levels aren't working. I'm not entirely sure if it's a compatibility issue with the work space, a file extension issue (psd), or something all together unknown to me. Any direction on how to adjust the levels so that my changes stay would be much appreciated - and furthermore, any advice on how to keep my files and work space in sync would also be helpful. Thank you. If it helps to know, I'm in painting mode within photoshop, which isn't my regular setting, but I thought it would help since I want to add color to this black an white drawing.
    Sincerely,
    LauraMay

    Zoom in to 100% before judging the quality of your adjustments on high contrast or noisy images.
    While zoomed out, you're seeing a preview applied to the down sampled (averaged) pixels.

  • Payment due date was changed without notice

    I received a text message on 7/9/15 advising me my bill would be due on 7/23/15 rather than 8/1/15.  A text message is really not an appropriate form of notification first of all. If I'm 2 days late you charge me a late fee, yet my billing cycle can be changed without notice?  I called on 7/9/15 regarding this along with many other issues I have been having with AT&T.  I was told this was corrected and my bill would be due on 8/1/15. Today I recieve an email stating my bill is due on 7/23/15.  I again contacted AT&T and I was told this change was never made by the agent I spoke to. I was apparently lied to.I was then told it would take up to 2 billing cycles to change it back to 8/1/15. So in short, AT&T can change my billing cycle without notice yet it takes 2 months to change it back?  At the very least I would call this practice. I have been with AT&T for many years and will likely cancel once my contract is up in December.

    My billing cycle had always run from teh 20th of the month to the 19th of the following month, with the bill due around the 17th.  Several months back, AT&T notified me that my bill due date would be changed by up to one week.  I got serveral weeks notice, and when my due date changed, my bill is now due on the 14th of the month.  The billing cycle did not change, it is still the 20th to the 19th, but the due date move up by 3 days.  Since my billing cycle ends on the 20th, and it had always taken 3-4 days before the bill was generated, the new due date now means it's due 3 weeks after the bill is generated.
    If you look back at the details of the bill you have received (either paper or electronic) you will probably find a small section in there telling you that this change was coming.  So many people don't look at their bill each month, they just look at the total and say, "yeah, that looks about right" and they pay it without looking at the details of what they are paying for.  If there is an error in your bill, you only have 90 days to bring it to AT&T's attention, so it is in your best interest to look at it each month.

  • How to adjust x axis of line chart for dynamic values from universe

    Dear All,
    I am new to SAP Dashboard. I got one requirment that, user will pass single value to universe using prompt in Dashboard. Based on that prompt value / input parameter, universe will deliver data to plot line chart in my canvas. But, on every request i will get different count from universe. Like for request A = 30 records, request B = 56 records, request C = 2 records and so on.
    Based on the count, i want to display line chart in my canvas which will auto fit the screen. (Auto adjustment of X axis e.g For A, last record on x axis should be 30, for B = 56 and for C =2). Please let me know, how can i achive this task?.
    Note : i know, how to plot simple line chat with fix count.

    This is based on the output you get for the selection, get in touch with the functional team and get an idea about maximum no of result set will appear on various selection options. Say example if the functional guy says around 100 then go ahead and map 100 cells for the series.
    Then as arijit said you can use the ignore blank cell option to eliminate the blank rows in the selection.
    Note: Eliminating blank cells will always work at the end of the rows, not in the middle of the rows.

  • How to adjust adhoc query when the database table changed.

    DearFreinds,
            I have created an adhoc Query , however after few days there was a requirement to remove some fields and change the length of some fields . Now the Adhoc query showing as to adjust , however when iam trying to adjust nothing is happening. Could any one let me know how to adjust with the table strucutre in the adhoc query.
    Regards
    madhu.

    Hi Sumit,
           Yes i have adjusted the database from se11 itself by going into utlity > adjust database . However i can still see the
    adhoc query -> infoset asking me when iam trying to go in change mode saying the database table has been changed do you want to adjust . 
    I have adjusted by going to more functions still there is no change. Please let me know what exactly i have to do.
    regards
    madhu

Maybe you are looking for

  • How to create a hidden parameter in a 11.1.1.6 BI Publisher Report

    We are in the process of migrating from BI Publisher 10g to 11.1.1.6. We used the Upgrade Assistant to migrate a couple thousand reports to the new 11g server. Most of the reports seem to be working fine, but some need some adjusting. In 10g, there w

  • Mail sync question

    3G doesn't sync with Mail app properly, so it would seem. On my Mac, I save many messages moved to other folders. Should I expect to see these other folders on the iPhone or not? Perhaps I'm going about Syncing the Mail wrong?

  • 32bit java on 64bit arch

    Hi, I have 64bit archlinux. I have installed eclipse and openjdk from repository so both are 64bit version. But I need 32bit version of java for actual job. So i downloaded it from oracle's web. Now I have two java on my arch (./usr/lib/jvm/java-6-op

  • Adding a Router

    Has anyone had success adding a second router to act as an AP with the Actionterc Router?  I am trying to expand wireless coverage in my house and would like to use a linksys router I have and set it up as a wireless Access Point on another floor of

  • Can't upgrade from Yosemite public beta 2 to 3

    Hi guys, AppStore shows update available but nothing happens after clicking update - I am running Yosemite Public Beta 2 on a 2nd partition on my Macbook Air, Partition has 5.8GB of free space left - could it be this is too less or what is the issue