Results 1 to 4 of 4

Thread: Get a model to stay on ground

  1. #1
    Private
    Join Date
    Jul 2015
    Posts
    44
    Thanks
    7
    Thanked 2 Times in 2 Posts

    Get a model to stay on ground

    When the claymore is anywhere on the map, the model will always end up on the ground, even if the player plants it in the air, or infront of a ladder that goes down, the claymore won't end up in mid air, in the same position the player is, although with a tactical insertion model I made, it does, the model will end up in the air if planted there, how would I always make the model land on the ground?

  2. #2
    Assadministrator IzNoGoD's Avatar
    Join Date
    Aug 2012
    Posts
    1,718
    Thanks
    17
    Thanked 1,068 Times in 674 Posts
    just bullettrace downwards and plant on trace["position"], optionally with trace["normal"] with vectortoangles() for angles
    "Does not work" is an error report for a bug between keyboard and chair.

    All hail Artie Effem

  3. The Following User Says Thank You to IzNoGoD For This Useful Post:

    akuma2099 (5th October 2015)

  4. #3
    Assadministrator kung foo man's Avatar
    Join Date
    Jun 2012
    Location
    trailerpark
    Posts
    2,011
    Thanks
    2,102
    Thanked 1,084 Times in 753 Posts
    timescale 0.01

  5. #4
    Private
    Join Date
    Jul 2015
    Posts
    44
    Thanks
    7
    Thanked 2 Times in 2 Posts
    Quote Originally Posted by IzNoGoD View Post
    just bullettrace downwards and plant on trace["position"], optionally with trace["normal"] with vectortoangles() for angles
    Thanks, worked

Posting Permissions

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