Results 1 to 4 of 4

Thread: Collision Object

  1. #1
    Join Date
    May 2010
    Location
    San Diego, CA
    Posts
    413

    Default Collision Object

    I've done it before, but for the life of me I can't remember how, nor find it in here using SEARCH (we all know how well that works)...

    Can someone tell me how to make a scenery object a collision object (like a buffer)?

    Thanks,
    Jeff

    Nothing is foolproof to a sufficiently-talented fool.

  2. #2

    Default

    First, you need a bounding box that will interact with rolling stock. My bumper posts have a BB which extends up to coupler height.

    Second, enable the CollisionObject properties by using Ctrl-M in the MSTS RE. Not sure if it's enabled in TSRE.

    The definition in the W file should look something like this:

    Code:
    	CollideObject (
    		UiD ( 62 )
    		CollideFlags ( 520 )
    		FileName ( northwesternbumper10m.s )
    		StaticFlags ( 00040000 )
    		Position ( -251.453 190 857.195 )
    		QDirection ( 0 -1 0 3.55999e-005 )
    		VDbId ( 2 )
    		StaticDetailLevel ( 0 )
    	)

  3. #3
    Join Date
    Jan 2019
    Location
    India
    Posts
    18

    Default

    Quote Originally Posted by eolesen View Post
    First, you need a bounding box that will interact with rolling stock. My bumper posts have a BB which extends up to coupler height.

    Second, enable the CollisionObject properties by using Ctrl-M in the MSTS RE. Not sure if it's enabled in TSRE.

    The definition in the W file should look something like this:

    Code:
    	CollideObject (
    		UiD ( 62 )
    		CollideFlags ( 520 )
    		FileName ( northwesternbumper10m.s )
    		StaticFlags ( 00040000 )
    		Position ( -251.453 190 857.195 )
    		QDirection ( 0 -1 0 3.55999e-005 )
    		VDbId ( 2 )
    		StaticDetailLevel ( 0 )
    	)
    What is meaning of the value of CollideFlags is 520?

  4. #4
    Join Date
    May 2010
    Location
    San Diego, CA
    Posts
    413

    Default

    Thanks, Eric. CTRL-M was what I was looking for; just couldn't remember it.
    Jeff

    Nothing is foolproof to a sufficiently-talented fool.

Posting Permissions

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