Results 1 to 5 of 5

Thread: Separate collision box...

  1. #1

    Default Separate collision box...

    I've made three objects that use the same graphics, but has different colours.

    All three are entities.

    But when I change the collision material of one of them, all three get changed... How I fix that?

  2. #2
    Squire
    Join Date
    May 2010
    Location
    Ontario
    Posts
    28

    Default

    I'm not expert but It sounds like you copied the same entity and and just tweek each ones individual color. Then tried to tweek the individual collision box.

    But if I understand it right if you copy one entity the copies share the collision data or rather the same .col file. So maybe re-create the entities separately loading each of their own files. Careful not to have them share the same collision data file.

    In the the .lua file. the entities should share a certain piece of code in the first few lines of code.
    "this:LoadCollisionInfo("~/what_ever_object_this_is.col");"

    If your objects all load from the same file. They get the same collision box.
    Hope this helps find a solution or understand your problem at hand. =)

  3. #3

    Default

    Erm...

    holy **** :P

    I am around hacking the source, and yet you easily knew all technical details about my problem...

    But now I have an idea (just erm... load another .col file manually!)

  4. #4
    Squire
    Join Date
    May 2010
    Location
    Ontario
    Posts
    28

    Default

    Holy **** indeed I've learned something! xD

  5. #5

    Default

    Although I failed to find where Novashell loads itself the collision, I loaded .col files manually, and it worked

Similar Threads

  1. Collision, where you went???
    By speeder in forum Novashell Game Creation System
    Replies: 1
    Last Post: 05-10-2010, 10:23 PM
  2. Collision detection
    By JoseMan in forum Official ClanLib SDK Forums
    Replies: 0
    Last Post: 04-26-2010, 04:37 PM
  3. Collision...
    By catch22 in forum Official ClanLib SDK Forums
    Replies: 3
    Last Post: 07-17-2009, 04:07 PM
  4. Collision thingy
    By attle in forum Novashell Game Creation System
    Replies: 2
    Last Post: 04-29-2009, 11:25 PM
  5. help with weird collision bug...
    By harrio in forum Novashell Game Creation System
    Replies: 2
    Last Post: 03-24-2008, 12:59 PM

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •