Results 1 to 3 of 3
  1. #1
    MSgt. Shooter Person
    Join Date
    Jan 2012
    Posts
    78

    Default Use Simple Line Collision

    Hey Everyone!
    is there any way that i can change the default properties of my imported static meshes, so when i import them ,several options such as Use Simple Line Collision will be unchecked??

  2. #2
    Boomshot
    Join Date
    Aug 2011
    Posts
    2,278

    Default

    StaticMesh is an undocumented class, but you can still modify its properties.

    Code:
    ReferenceToStaticMeshComponent.StaticMesh.UseSimpleLineCollision = false;

  3. #3
    Palace Guard
    Join Date
    Jan 2010
    Location
    Germany
    Posts
    3,940

    Default

    Quote Originally Posted by Spoof View Post
    StaticMesh is an undocumented class, but you can still modify its properties.

    Code:
    ReferenceToStaticMeshComponent.StaticMesh.UseSimpleLineCollision = false;
    He was referring to the import process. Some things simply shouldn't be changed at runtime for performance or feasibility reasons.
    He is just looking for a way to make his import pipeline more efficient without shifting manual workload to script that is executed at runtime for the sake of saving some clicks in the production process.

    We can use ActorFactories to influence the settings and editor behaviour for placing new Actors, but there doesn't seem to be a similar system for the import options, sadly.
    Our Loop, which art in source code, hallowed be thy keyword.
    Thy condition come, thy instruction be done, in RAM as it is in cache.
    Increment us this day our daily counter,
    and forgive us our typos, as we also have forgiven our compilers.
    And lead us not to the nullpointer but deliver us from bugs.
    For thine is the API, the GUI, and the CLI while(true).
    Semicolon;
    Please don't send me questions about how to do something in the UDK via PM. That is better discussed in the forums and we only have limited PM storage.


 

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
  •  
Copyright ©2009-2011 Epic Games, Inc. All Rights Reserved.
Digital Point modules: Sphinx-based search vBulletin skin by CompletevB.com.