Announcement

Collapse
No announcement yet.

Relative Physics Problem

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • replied
    @GentlemenGraphics: You seem to misunderstand the function of the content class. Its sole purpose is to customise the appereance of the vehicle, nothing else.
    The problem appears to be related to your level or your global settings. So what gravity is set in your level?

    @tegleg: Thanks, glad to know that it works for others as well. Did you fly the vehicle in UDK's default gravity?

    Leave a comment:


  • replied
    Originally posted by tegleg View Post
    wow this is pretty mental.
    works for me, thanks for sharing.
    Hey TegLeg Could you post your content.uc code here as I am having trouble getting this to work.

    Thanks

    Leave a comment:


  • replied
    What should I do any suggestions? This sucks.

    Leave a comment:


  • replied
    wow this is pretty mental.
    works for me, thanks for sharing.

    Leave a comment:


  • replied
    There is no way to simply modify the Cicada script and make the Cicada fly like a plane.
    The Cicada is a helicopter and the UT code doesn't offer a way to change that.
    That's what the AR_Aircraft script is for. It adds custom forces to change the physical behavior of the Cicada. I changed its behavior to that of a spaceship, but a plane is doable as well.

    The changes needed to archive a plane/spaceship like behavior have been posted by me before.

    We need to locate the problem and afterwards it can be easily changed from a crappy spaceship to a simple plane.

    For locating the problem, I assume there is something wrong with your level, proably gravity. Have you placed the Cicada in a large gravity volume with gravity set to 0?

    If that fails as well, there is no choice but to log. Don't worry that is very simple. And you will need it anyway, if you continue with UDK to figure out further (non script) errors.

    Leave a comment:


  • replied
    No difference and I am clueless when it comes to logging.
    Forgetting the Ar_Aircraft script lets move onto the default Cicada script.

    Hiredicespecter, could you tell me what to modify in the Cicada script to get it near enough to fly like a plane?

    Thanks.

    Leave a comment:


  • replied
    Replace the 5 with a 50. This might help if it is a problem with gravity or damping. 5 would move the Cicada with walking speed, 50 is more than running.

    On top of that let's rule out input as the problem.
    I hope you are familiar with logging. Please add
    Code:
     `log("Rise: "$AR_NewRise);
    under
    Code:
     // The magic happens here
    AR_ForceApplication = AR_UpwardsNormal * 0 + 50 * AR_ForwardsNormal;
    Now pay attention how the numbers spammed into your log change, when your are in the Cicada and press jump or crouch. If you press jump it should be 1, if you press crouching it should be -1.

    [EDIT]: There is no need to post something like "Please help" after you have posted to a thread. Everybody that is activly following the thread, like me, will get a mail notification, already after the first post.
    Give people, especially me, at least 48 hours before posting stuff like this, because I can't always respond within 2 hours, since I am in a different time zone than you and have a busy life.

    Leave a comment:


  • replied
    Originally posted by Hiredicespecter View Post
    You mean that nothing changes after you have changed the code in the way I suggested?
    Can you help me please.

    Leave a comment:


  • replied
    Yes that is right nothing different occurs.

    Leave a comment:


  • replied
    Originally posted by GentlemenGraphics View Post
    Nothing happens it seems to act exactly the same.
    You mean that nothing changes after you have changed the code in the way I suggested?

    Leave a comment:


  • replied
    Yes my UTPawn does all 3. The key to crouch is left shift and the key to jump is space. Nothing happens it seems to act exactly the same.

    Leave a comment:


  • replied
    Please answer all questions I make in a post. Not just one.

    Otherwise locating your problem will take a very long time.

    In order to decide whetever your problem is input related or not, please answer all of the following questions:
    -Does your UTPawn properly walk, crouch and jump?
    -Which keys do you use for jumping and crouching?
    -What happens if you replace
    Code:
      // The magic happens here
    AR_ForceApplication = AR_UpwardsNormal * 0 + 5 * AR_NewRise * AR_ForwardsNormal;
    with
    Code:
     // The magic happens here
    AR_ForceApplication = AR_UpwardsNormal * 0 + 5 * AR_ForwardsNormal;
    ?

    Leave a comment:


  • replied
    Nothing - no response.

    Leave a comment:


  • replied
    There is no need to change your key bindings as long as the UTPawn behaves properly (it can jump, crouch & walk).
    Which keys do you use for jumping and crouching? What happens if you hold down one of them while inside the Cicada?

    Leave a comment:


  • replied
    I use a custom default one; but should I change to syphon's ones?

    Leave a comment:

Working...
X