This group is for everyone who like tanks, sci-fi tanks, real tanks, funny tanks, you can put here tank mods, tank maps, simply everything with straps, armor and gun :D

Report article RSS Feed City of Steam Coding Dev Journal - Adding New Collision

New Coding Dev Journal! Insight into collision improvements.

Posted by CoS_Ethan on Oct 6th, 2012

This is a repost from City of Steam Coding Dev Journals

Today we’d like to highlight some of the polishing we’ve been doing. If you played in Alpha or in the Sneak Peek you’d have noticed some pathfinding issues when rounding corners, objects, pits, etc. while dungeon delving. We’ve gone back to this and really reworked and added in a lot of smoothing.Going further back, if you played in the Sneak Peek you’d have noticed that there wasn’t even WASD movement at all. When we implemented the alternative movement options, we didn’t have quite enough time to go in and make it work perfectly.We’re using a grid-based system for pathfinding (obviously, right?) but with the addition of WASD movement, which requires more precise checks and faster reaction on the client-side, quite a lot of issues arose. As an example, when you press “W” to move forward you may get forced into entering a square that isn’t directly in front of you, which then leads to what is displayed as that ugly “shaking” movement.Given this issue, we could have gone two ways; one would have been to make our poor level designers go into every level and add in more colliders manually. So it was obviously deemed necessary for us to go in and work out a better way to procedurally create better colliders that would fit the pathfinding system.

Looking at this picture, you can see how the pathfinding system utilizes a grid to determine what is a possible and impossible as a move. So in this new system, colliders are generated for walls and other obstacles so that the WASD movement will better adapt to player inputs. This has smoothed the movement greatly and also helps with the reaction time and precision in movement.Sure, it’s been a lot of work to add in, especially since it stemmed from major player feedback; but considering how many of you wanted this and prefer WASD as opposed to mouse-only, we felt it was worth the effort. This is your voice in action, dear CoS fans! Keep ‘em coming! That’s part of what our Forum is for, so take a moment to drop by, sometime!

-
City of Steam Dev Team 

Post comment Comments
rkraptor70
rkraptor70 Oct 7 2012, 1:48am says:

Dude seriously, this has NOTHING to do with tanks so stop posting it here.

+9 votes     reply to comment
Templarfreak
Templarfreak Oct 7 2012, 3:37am replied:

I do have to agree that I don't like it when people post news into groups that the news doesn't belong in, but hell maybe the dude is in this group. When someone is in a group, it automatically associates with it.

I hope you guys do a realistic Collision system. I hate walking up to a wall then get bounded 5ft away from it. Or not being able to walk over extremely tiny objects. =.=

+8 votes     reply to comment
CoS_Ethan
CoS_Ethan Oct 7 2012, 11:22pm replied:

No need to worry about that, collision should be fairly realistic (as much as games go). You can get close enough to walls without melting into them, and step over debris and other small objects without them stopping you as a wall would. Of course, some of this is still up for Beta testing, so if any odd issues pop up, we'll be sure to work on fixing them before release. :) Feel free to drop me a line if you have any further questions!

+1 vote     reply to comment
Templarfreak
Templarfreak Oct 10 2012, 6:43pm replied:

Meh, I guess I should have known you guys would go all out. xp

+1 vote     reply to comment
CoS_Ethan
CoS_Ethan Oct 7 2012, 10:30pm replied:

Oops, sorry dude, I was a member of this group, and when I posted the dev journal, I guess something unexpected happened!

+1 vote     reply to comment
Post a Comment
click to sign in

You are not logged in, your comment will be anonymous unless you join the community today (totally free - or sign in with your social account on the right) which we encourage all contributors to do.

2000 characters limit; HTML formatting and smileys are not supported - text only

Established
Sep 11, 2009
Privacy
Public
Subscription
Open to all members
Contact
Send Message
Email
Members Only
Membership
Join this group
Group Watch
Track this group
News
Browse
News
Report Abuse
Report article
Related Games
Related Engines
Unity
Unity Commercial Released May 30, 2005
Related Groups
Europe
Europe Geographic group with 382 members
Indie Devs
Indie Devs Hobbies & Interests group with 1,087 members
Indie Gamers
Indie Gamers Hobbies & Interests group with 281 members
Indie Online Games
Indie Online Games Hobbies & Interests group
IndieVault
IndieVault Hobbies & Interests group with 73 members
Mechanist Games
Mechanist Games Developer with 2 members
PC Gamers
PC Gamers Hardware & Tech group with 630 members
R2Games
R2Games Publisher
Tank Lovers Group
Tank Lovers Group Hobbies & Interests group with 1,297 members
United States of America
United States of America Geographic group with 236 members
Unity devs
Unity devs Hobbies & Interests group with 1,150 members