ToAnteriorPostion

You must understand the Game Editor concepts, before post here.

ToAnteriorPostion

Postby SarmadRabbani » Tue Jan 16, 2018 5:49 pm

Hey Guys!!!

There's a funtion ToAnteriorPostion, What is is???. I mean what is it used for ? :?:
User avatar
SarmadRabbani
 
Posts: 15
Joined: Fri Dec 29, 2017 5:33 pm
Score: 0 Give a positive score

Re: ToAnteriorPostion

Postby Kcee » Tue Jan 16, 2018 7:01 pm

From my research, I think it stops an actor from moving at a particular velocity. Search within the forums to know more.
GE rocks!
User avatar
Kcee
 
Posts: 144
Joined: Tue Feb 14, 2017 5:40 pm
Location: Dimension GE
Score: 6 Give a positive score

Re: ToAnteriorPostion

Postby SarmadRabbani » Fri Jan 19, 2018 8:18 am

Kcee wrote:From my research, I think it stops an actor from moving at a particular velocity. Search within the forums to know more.


Sorry but I didn't get the reliable concept.
User avatar
SarmadRabbani
 
Posts: 15
Joined: Fri Dec 29, 2017 5:33 pm
Score: 0 Give a positive score

Re: ToAnteriorPostion

Postby Kcee » Fri Jan 19, 2018 8:48 pm

The function is rarely used, what do you want to use it for anyway?
GE rocks!
User avatar
Kcee
 
Posts: 144
Joined: Tue Feb 14, 2017 5:40 pm
Location: Dimension GE
Score: 6 Give a positive score

Re: ToAnteriorPostion

Postby juansimat » Fri Jan 19, 2018 11:54 pm

I think your question may be too broad.

The obvious answer would be ToAnteriorPosition is the equivalent of:
Code: Select all
someActor.x = someActor.xprevious;
someActor.y = someActor.yprevious;


But your are probably asking examples of usage.

If you asked what is sin(x) used, well, it's used for retrieving the sine of the x. The examples of when you'll benefit from this operation are up to your imagination (and most common, to your needs).

In programming, sometimes you can achieve same results with different code and functions. One example of ToAnteriorPosition could be, to simulate collision effect, instead of using the PhysicalResponse method.
̿̿¯̿̿¯̿̿'̿̿̿̿̿̿̿'̿̿'̿̿̿̿̿'̿̿̿)͇̿̿)̿̿̿̿ '̿̿̿̿̿̿\̵͇̿̿\з=(๏̯͡๏)=ε
User avatar
juansimat
 
Posts: 136
Joined: Sat Dec 19, 2009 8:23 am
Score: 25 Give a positive score


Return to Advanced Topics

Who is online

Users browsing this forum: No registered users and 1 guest

cron