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 / ez rotate wil not rotate

Author
Message
Daniel wright 2311
User Banned
Posted: 19th May 2012 02:23
ez rotate? realy? I am learning it still.but,I try this to rotate a game guy 90 degres toward another waypoint but it does not work.

I want my guys to rotate around slowly but all this does is the same as point object,it points a object real fast to the other object,loking real generic. I NEED MY OBJECTS TO ROTATE AROUND A POINT SLOWLY,NOT POINT A OBJECT SO FAST IT LOOKS LIKE A ROBOT,LOL.

Any good examples to rotate objects to point at there next waypoint?

Then,and this is big,when it does rotate like point object,it moves the wrong way,my object will move in the same dirrection as it started but my object is turned.



my signature keeps being erased by a mod So this is my new signature.
Daniel wright 2311
User Banned
Posted: 19th May 2012 06:19
Never mind people,I figured this out with out ez rotate,I guess I will just use this program for other things.

my signature keeps being erased by a mod So this is my new signature.
MrValentine
AGK Backer
15
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 19th May 2012 10:22
Would be nice if you shared your findings... Also the examples have all the code in them...

MadBit
VIP Member
Gold Codemaster
17
Years of Service
User Offline
Joined: 25th Jun 2009
Location: Germany
Posted: 19th May 2012 11:33
you should take the last parameter of your ez-rotate function to a lower value. Change the 90 to a 0.1, then your object will rotate very soft and slow.
this parameter affected how far the object turns to target, in degree, per call.
If I remember correctly.


With Computers you can solve Problems that you have never befor.
Share your knowledge. It's a way to achieve immortality. (Tenzin Gyatso)
Daniel wright 2311
User Banned
Posted: 19th May 2012 19:11 Edited at: 19th May 2012 19:14
@MrValentine

all I did was this



so on and so forth,you can also use YRotate Object 15, WrapValue(Object Angle Y(15) + 1),using the plus turns your guy the other way.

my signature keeps being erased by a mod So this is my new signature.
Daniel wright 2311
User Banned
Posted: 19th May 2012 19:12
@MadBit

Thank you,I will lower the value and test it once more.

my signature keeps being erased by a mod So this is my new signature.
MrValentine
AGK Backer
15
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 19th May 2012 20:02
Fantastic!

It helps future readers get a resolve faster

Login to post a reply

Server time is: 2026-07-22 00:35:11
Your offset time is: 2026-07-22 00:35:11