Gamestudio Links
Zorro Links
Newest Posts
New FXCM FIX Plugin
by flink. 06/04/24 07:30
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
0 registered members (), 1,490 guests, and 9 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19058 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
shuddering with c_move GLIDE #290055
09/17/09 02:52
09/17/09 02:52
Joined: Nov 2007
Posts: 50
C
Chaeon Offline OP
Junior Member
Chaeon  Offline OP
Junior Member
C

Joined: Nov 2007
Posts: 50
HI PEOPLE

this problem has been bugging me forever ive tried a variety of workarounds (like cutting the player ent's horizontal momentum when it reaches a wall) but none of them ar quite CLEAN enough for me and i was wondering if anyone else has this trouble and if so what did you end up doing about it?

when an entity presses into a wall with c_move(my,blahblah,GLIDE); it shudders in and out from the wall! it only happens when the entity is not actually sliding along the wall, like when vertical absdist is zero, or when the floor prevents any vertical movement ie when pressed into a corner.

this doesnt happen with the floor either, the entity sits perfectly on the floor when executing
c_move(my,nullvector,vector(0,0,-5 * time_step),GLIDE); repeatedly

only the walls are the problem.

also maybe worth noting here, the entity does not seem to ever pass into the wall. it just touches the wall and moves away from it and moves forward to touch it again in a vibrating pattern.

any feedback appreciated


I HEART 3DGS
Re: shuddering with c_move GLIDE [Re: Chaeon] #290062
09/17/09 04:44
09/17/09 04:44
Joined: Aug 2008
Posts: 482
B
bart_the_13th Offline
Senior Member
bart_the_13th  Offline
Senior Member
B

Joined: Aug 2008
Posts: 482
First of all, cutting entity horizontal movement is not a good idea. I only used it for limiting player movement to edges...

Using c_move always work fine with me...
And using
Code:
c_move(my,nullvector,vector(0,0,-5 * time_step),GLIDE); repeatedly



is not a good idea either, since you will have your entity moving around in the sloped floor, unless you intended to do so laugh...

Re: shuddering with c_move GLIDE [Re: bart_the_13th] #290307
09/18/09 11:19
09/18/09 11:19
Joined: Nov 2007
Posts: 50
C
Chaeon Offline OP
Junior Member
Chaeon  Offline OP
Junior Member
C

Joined: Nov 2007
Posts: 50
thanks for your reply

moving down constantly was just an example from the testing i did.

and my point was it DID do exactly what expected, but the horizontal equivalent didn't. looks like bug to me-_-


I HEART 3DGS
Re: shuddering with c_move GLIDE [Re: Chaeon] #290424
09/18/09 22:17
09/18/09 22:17
Joined: Nov 2007
Posts: 50
C
Chaeon Offline OP
Junior Member
Chaeon  Offline OP
Junior Member
C

Joined: Nov 2007
Posts: 50
urgh. its solved. i was using a too old A7. also time_step kinda malfunctioned when running a published script UNLESS the dubugging panel was open. hows THAT for an infuriating error, but it's cleared up now too.

i spose the jokes on me, being naive enough to think that they wouldnt release a GS in which such a central function as move wasnt working properly.

anyway c_move doesnt suck anymore and iv learned a lesson. so all good. i still heart 3dgs tongue


I HEART 3DGS

Moderated by  HeelX, Spirit 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1