Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / How to create Pendulum movement?

Author
Message
Mugen Wizardry
User Banned
Posted: 17th Oct 2007 02:38
Just as the title says, is it possible to do this without a DLL, and if so, please post a small example =) Thanks everyone! =)

~M.W~
dark coder
22
Years of Service
User Offline
Joined: 6th Oct 2002
Location: Japan
Posted: 17th Oct 2007 03:09
Quote: "is it possible to do this without a DLL"


Why would it require a DLL?



Mugen Wizardry
User Banned
Posted: 17th Oct 2007 03:43
@dark coder: Thanks mate, but I should have said that I needed a 3D version of it. =) You know, like the movement of the Colossus, in the PS2 game: Shadow of the Colossus =)

~M.W~
Ric
20
Years of Service
User Offline
Joined: 11th Jul 2004
Location: object position x
Posted: 17th Oct 2007 14:05
I have no idea what the 'Colossus' is, but DC's code can quite easily be converted to work for 3d too:-



Mugen Wizardry
User Banned
Posted: 17th Oct 2007 16:35 Edited at: 17th Oct 2007 16:36
@Ric: Thanks alot, mate, but this is more of the movement that I am looking for, although I will be using this code in my game for other purposes, if it is ok =)

Anyways, here is the Shadow of the Colossus, and this is the movement that I am looking for:

http://youtube.com/watch?v=hTsQZog5IiY

Thanks everyone! =)

~M.W~
Jeff032
17
Years of Service
User Offline
Joined: 13th Aug 2007
Location:
Posted: 17th Oct 2007 16:57
I don't get it...what part of the movie is pertaining to pendulum movement? Maybe I just missed something?...

Space Game WIP
Mugen Wizardry
User Banned
Posted: 17th Oct 2007 17:15 Edited at: 17th Oct 2007 17:16
@Jeff032: It may also be in the movement of the monster. But the main part where the monster moves and the player hangs on to the monster & the monster tries to shake the player off, but the player clings on, and starts to drop or rotate like a pendulum. Thanks everyone! =)

~M.W~
Ric
20
Years of Service
User Offline
Joined: 11th Jul 2004
Location: object position x
Posted: 18th Oct 2007 02:14
The motion of the characters in that video are complex - they may involve motion capture, ragdoll physics or both. You won't get a solution to the question 'how do I create something like that' in a code snippet. What you will get here are building blocks - basic principles which you have to piece together to get the complex results you want.

calcyman
17
Years of Service
User Offline
Joined: 31st Aug 2007
Location: The Uncertainty Principle
Posted: 20th Oct 2007 09:43
This way is much simpler:

Angle = 30*SIN(time)

ZRotate object pendulum, angle

I can't be bothered to invent a signature

Login to post a reply

Server time is: 2025-05-21 04:54:01
Your offset time is: 2025-05-21 04:54:01