|
Re: bug? Lite-C car template in A8
[Re: sitrep]
#451175
04/29/15 18:05
04/29/15 18:05
|
Malice
Unregistered
|
Malice
Unregistered
|
I realize most people here are interested and FPS(which is cool), but hopefully someone can shed some light on this A8 issue.
<--- Is not at all interested The track and set up from AUM 90 is for the A7 not the A8 This is not likely a bug. However it's Physics stuff so I can't help. You need to be able to read and understand the code you are using to find issues with the code or your implementation of it. Use the current template from the gs folders and build a new track following the current design methods, that's my best advice.
|
|
|
Re: bug? Lite-C car template in A8
[Re: sitrep]
#451182
04/29/15 19:23
04/29/15 19:23
|
Joined: Dec 2011
Posts: 1,823 Netherlands
Reconnoiter
Serious User
|
Serious User
Joined: Dec 2011
Posts: 1,823
Netherlands
|
If i load up a different terrain, my player car falls through the floor. , increase the car z when you create it, that probably works. Otherwise the template maybe has a bug in the collision system. But those are only wild quesses since I personally never used these templates.
|
|
|
Re: bug? Lite-C car template in A8
[Re: Reconnoiter]
#451183
04/29/15 19:26
04/29/15 19:26
|
Malice
Unregistered
|
Malice
Unregistered
|
Actual it sounds like the terrain is not a collision object for the physic system.
|
|
|
Re: bug? Lite-C car template in A8
[Re: ]
#451185
04/29/15 19:36
04/29/15 19:36
|
Joined: May 2009
Posts: 5,370 Caucasus
3run
Senior Expert
|
Senior Expert
Joined: May 2009
Posts: 5,370
Caucasus
|
Actual it sounds like the terrain is not a collision object for the physic system. Guys make sure that you don't scale your terrains! Native physX plugin won't work correct if you have scaled terrain, you need to scale it in MED. Also, it has to be registerd as a static object with poly collusion hull (I think this one is obvious). Greets
|
|
|
Re: bug? Lite-C car template in A8
[Re: sitrep]
#451194
04/29/15 22:03
04/29/15 22:03
|
Joined: May 2009
Posts: 5,370 Caucasus
3run
Senior Expert
|
Senior Expert
Joined: May 2009
Posts: 5,370
Caucasus
|
Once the AI cars go to the starting line , there is no sound for start, semaphor, and AI cars don't run. if I drive through the finish line, I don't see my time. Of course it's not a bug. I'll upload tomorrow working versions of AI (one from car template AUM 90 and another one from AUM 37). greets
|
|
|
Re: bug? Lite-C car template in A8
[Re: sitrep]
#451225
04/30/15 11:51
04/30/15 11:51
|
Joined: May 2009
Posts: 5,370 Caucasus
3run
Senior Expert
|
Senior Expert
Joined: May 2009
Posts: 5,370
Caucasus
|
First of all, I hate templates, and I STRONGLY recommend to do not use them! They simply suck (the only one I really LOVE is the multiplayer template created by Superku). They are very good to learn from, but they do not fit any playable projects! So I suggest you take a look at the code and workshops, to understand how things work and create something on your own! About those two demos (AUM90 and AUM37), I've mixed them together to get more or less good looking results, with AI finishing the lap and at the end of the race showing up results with the lap time. So note that demo is pretty basic (and not made to be used in your games, but more for learning purpose!), everything is the same as in the original code (no collusion for cars between each other etc...). BTW, AI cars never user physics engine, only the player's car did (in all car workshops and templates around the forum). So that's why you can notice some strange collusion issues in templates. So here is the demo: http://www.filedropper.com/caraiScreen: Is that a working demo with timer, semphor, and Ai cars moving?
I got the car running from templates, but the other is where I'm stuck
Take a look at this: PhysX-based car and AI traffic cars Note: download link is down, but you can easily download it from AUM 101 under 'Hot at the forum' section (don't forget thanks painkiller for such an awesome contribution). Greets Edit: I can suggest you to take a look at the source code of Ackmania. It's one of the best racing cars around the forum! But I'm pretty sure the code is too complex for newbie, but don't give up, it worth a try!
Last edited by 3run; 04/30/15 12:03. Reason: Ackmania
|
|
|
|