hey guyz! i want your help , how do i rotate my character as per the ground please help !!!

Hello! Everyone i want your help here , how can i rotate my actor as it moves on the slide as shown in this picture, it works verygood on plain surface but when slide comes it doesn't rotate it just go straight as you can see > please help !!!

This is what i want : https://drive.google.com/file/d/0B410D35tqn3URWttUS1HSnFOZEE/edit?usp=sharing

and this is what i have : https://drive.google.com/file/d/0B410D35tqn3UeHpXeGpUa2VHX2M/edit?usp=sharing

please help !!

Comments

  • zweg25zweg25 Member Posts: 738

    How are you rotating it now?

  • CodeArtOnlineCodeArtOnline Member Posts: 84

    I'm not rotating it. That's just pic which I want like that ,
    When we are walking on a straight plain ground then a slides come when we walk on a slide it doesn't walk the way I want to. It just walk straight on the slide like it walks on the ground . Those pics above are the examples . Hope you understand and help me please

  • ArmellineArmelline Member, PRO Posts: 5,369

    What rules are you using for the movement of the character and the collision with the ground?

  • i think u gotta rotate to angle ? i guess ???? srry I'm wrong , I'm noob in game salad

  • CodeArtOnlineCodeArtOnline Member Posts: 84

    Yeah when it lands on the slide which is shown in the pic , it should rotate it's angle because it's on the slide hope you understand .
    And Armelline : it's a simple character movement rules like , right key to move right

    Please help !!

  • Tiny_IdeasTiny_Ideas Member Posts: 326

    @shuaibmunawar‌ Is this what you are looking for?

    -Use left and right arrows to accelerate left or right.

  • CodeArtOnlineCodeArtOnline Member Posts: 84
    edited September 2014

    Hey ,, please have a look and help ....... Jeromy and please everyone

    https://drive.google.com/folderview?id=0B410D35tqn3UaHJNQ0EycHFLVGs&usp=sharing

  • Tiny_IdeasTiny_Ideas Member Posts: 326

    The demo does what the picture shows? Or do you want it done a different way?

  • CodeArtOnlineCodeArtOnline Member Posts: 84

    the demo doesn't do thaat , i want to do that , but i can't

  • CodeArtOnlineCodeArtOnline Member Posts: 84

    help me please !!

  • Tiny_IdeasTiny_Ideas Member Posts: 326
    edited September 2014

    Hey,

    Sorry about that - If you could explain what you are trying to achieve a bit more? All I can see is an image of a ground with a person on top of it and another image with the ground rotated and the person rotated to fit. Thats what the Demo attached does. The actor rotates due to gravity and is displayed just like your images.

    Maybe some more pics as to what your trying to achieve? Or am I missing something completely?

    Thanks
    Jeromy

  • CodeArtOnlineCodeArtOnline Member Posts: 84

    ok then heres new better pic.
    and also i want help in the rotation, i mean when i walk on slide it should change the rotation as per the slide . but i dont know how to do that, here updatde demo and screenshots Please help ... . .

    https://drive.google.com/folderview?id=0B410D35tqn3UaHJNQ0EycHFLVGs&usp=sharing

    @Jeromy‌

  • Tiny_IdeasTiny_Ideas Member Posts: 326

    Hi,

    Would you mind compressing the file and then uploading it - otherwise I can not download it.
    And again, the Pics look like or similar to the demo provided - but until I can download the file I won't know for sure :)

    Thanks
    Jeromy

  • CodeArtOnlineCodeArtOnline Member Posts: 84

    Here you go
    https://drive.google.com/file/d/0B410D35tqn3UZ1RDaTQwZGpHR0E/edit?usp=sharing

    im really sorry actually i,im new here

  • Tiny_IdeasTiny_Ideas Member Posts: 326

    Hello Again,

    Thanks for the file - First of, there is a lot going on in that file I don't know what is doing what at a first Glance.

    I Have striped back everything - including Art and Actors so no one steals anything.
    The Blue actor is one I have added to your game - It does everything you want it to do with the rotation. What you need to do now is work how to add that to your file and character.

    Just like my demo I provided earlier - I have done the basic concept - The actor now rotates according to the ground it is on.

    Is that what you are looking for?

    Thanks,
    Jeromy

  • CodeArtOnlineCodeArtOnline Member Posts: 84

    Thanks , thankyou very much... its about fixed rotatation, but theres still a problem that when ever it collides with anything it lie down, or it change its position ,.. hmmm i think i have to do something else ...

    thanks though!!! :)

  • CodeArtOnlineCodeArtOnline Member Posts: 84

    woaaa ,, Thanks @Jeromy‌ ,,. and i want more helpp !! will ask tomorrow ,, :wink:

  • Tiny_IdeasTiny_Ideas Member Posts: 326

    Hi,

    To answer your first question, you may need to change ground actors positions to whole numbers, eg 49.257522684 to just 49,

    Then you will need to adjust their positions so every ground actor is perfectly lined up. If there is a pixel out if place it cause a bump to the main actor and will therefore cause it to fall over.

    Fire away with your questions, the more clear you problem is the mire easier it would be to get a response.

Sign In or Register to comment.