Gamestudio Links
Zorro Links
Newest Posts
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 05:41
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AbrahamR, AndrewAMD), 1,278 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
terrain and gravity #176548
01/04/08 19:26
01/04/08 19:26
Joined: Feb 2005
Posts: 647
Williamsburg, VA USA
draculaFactory Offline OP
User
draculaFactory  Offline OP
User

Joined: Feb 2005
Posts: 647
Williamsburg, VA USA
I have been having this problem with terrain and gravity for a long time and I can't seem to figure out a way around it. When I use a gravity code, any gravity code, with an entity on terrain it seems to stick to parts of the train when moving across the surface. The result is my entity moving across the terrain and the movement is jerky in places.


Making dreams come true... And being erroneously accused of software piracy by Conitec in the process.
Re: terrain and gravity [Re: draculaFactory] #176549
01/07/08 16:39
01/07/08 16:39
Joined: Sep 2005
Posts: 274
Switzerland - Zurich
zwecklos Offline
Member
zwecklos  Offline
Member

Joined: Sep 2005
Posts: 274
Switzerland - Zurich
Hi there,
Have you tried to use my.polygon = on; on your terain model?
Are you using a chunked terrain or is it a big, single model?

cheers

zwecklos

Re: terrain and gravity [Re: zwecklos] #176550
01/07/08 17:07
01/07/08 17:07
Joined: Feb 2006
Posts: 2,185
mpdeveloper_B Offline
Expert
mpdeveloper_B  Offline
Expert

Joined: Feb 2006
Posts: 2,185
make sure that you use glide in your c_move functions


- aka Manslayer101
Re: terrain and gravity [Re: mpdeveloper_B] #176551
01/07/08 18:52
01/07/08 18:52
Joined: Feb 2005
Posts: 647
Williamsburg, VA USA
draculaFactory Offline OP
User
draculaFactory  Offline OP
User

Joined: Feb 2005
Posts: 647
Williamsburg, VA USA
I am not using my.polygon = on, I use a symetrical bounding box, it basically looks like a rectangle. I am using a chunked terrain if by chunked you mean the system that is in the engine, not a user-made chunking system like terrain-sewing. I am also using glide in my c_move functions.


Making dreams come true... And being erroneously accused of software piracy by Conitec in the process.
Re: terrain and gravity [Re: draculaFactory] #176552
01/08/08 02:29
01/08/08 02:29
Joined: Feb 2005
Posts: 647
Williamsburg, VA USA
draculaFactory Offline OP
User
draculaFactory  Offline OP
User

Joined: Feb 2005
Posts: 647
Williamsburg, VA USA
I must say though that this is very disheartening, I was planning on building a large open area with terrains and models but I guess I have to use old code to achieve a substandard result huh. This is a huge bottle neck for me.


Making dreams come true... And being erroneously accused of software piracy by Conitec in the process.
Re: terrain and gravity [Re: draculaFactory] #176553
01/08/08 13:09
01/08/08 13:09
Joined: Oct 2004
Posts: 4,134
Netherlands
Joozey Offline
Expert
Joozey  Offline
Expert

Joined: Oct 2004
Posts: 4,134
Netherlands
Did you try switching my.polygon to on now?
There are many factors that could cause your player to get stuck, but we don't know enough of your terrains, models and scripts to tell you what might be the error.

We don't even know the 3dgs version you are using. There has been a bug report about models getting stuck on bumped areas on blocks (not models or terrains) but it could be related. If you start testing why, when and where it gets stuck, we and perhaps you too find the cause for it.


Click and join the 3dgs irc community!
Room: #3dgs
Re: terrain and gravity [Re: Joozey] #176554
01/09/08 00:07
01/09/08 00:07
Joined: Feb 2005
Posts: 647
Williamsburg, VA USA
draculaFactory Offline OP
User
draculaFactory  Offline OP
User

Joined: Feb 2005
Posts: 647
Williamsburg, VA USA
I'm using game studio 6.60, as far as the code is concerned, I don't think it matters because it is a problem with every type of gravity code that I have tried using c_move. As far as my.polygon is concerned, I turned it on and there didn't seem to be an effect one way or the other.


Making dreams come true... And being erroneously accused of software piracy by Conitec in the process.
Re: terrain and gravity [Re: draculaFactory] #176555
01/09/08 03:40
01/09/08 03:40
Joined: Mar 2006
Posts: 2,503
SC, United States
xXxGuitar511 Offline
Expert
xXxGuitar511  Offline
Expert

Joined: Mar 2006
Posts: 2,503
SC, United States
It must be in your movement code. I'm assuming that the terrain isn't too drastic?

If you want to post it, or send it to me, I can take a look into it for you...


xXxGuitar511
- Programmer
Re: terrain and gravity [Re: xXxGuitar511] #176556
01/09/08 06:42
01/09/08 06:42
Joined: Feb 2005
Posts: 647
Williamsburg, VA USA
draculaFactory Offline OP
User
draculaFactory  Offline OP
User

Joined: Feb 2005
Posts: 647
Williamsburg, VA USA
Its actually odd because I have tested it with a completely flat terrain as well as a bumpy one with the same result. And I have tested it with a good movement code of my own design, a very simple one without any force calculations as well as template code. I'm not sending this to anyone actually because as far as I can tell, there are a lot of people here that are massive rip off artists. I have already had one project get flushed down the tubes due to the fact that I showed it to someone.


Making dreams come true... And being erroneously accused of software piracy by Conitec in the process.
Re: terrain and gravity [Re: draculaFactory] #176557
01/09/08 07:31
01/09/08 07:31
Joined: Mar 2006
Posts: 2,503
SC, United States
xXxGuitar511 Offline
Expert
xXxGuitar511  Offline
Expert

Joined: Mar 2006
Posts: 2,503
SC, United States
You don't have to worry about that with me; I have people that can support this. I've done alot of code for many people here. Life's become too busy to work on any projects now, so I just help other forum members with coding.

With the exception of networking and shadow mapping, I've done just about everything with 3DGS. Portals, Racing, FPS, RPG, environment, shaders, etc...


Just trying to help you out, if you don't want it, it's your call...


xXxGuitar511
- Programmer
Page 1 of 2 1 2

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

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