weixin_39943101
weixin_39943101
2020-12-02 00:50

ghost toggle

In blender the only way i know how to toggle ghost is to parent it to a dumby object in the scene and set it to ghost. Then to un ghost it i just unparent it. Any chance of the ghosting being added to parent function or even better a toggling ghost function?

also if you are aware of a better way to toggle ghost in BGE that could be helpful too

该提问来源于开源项目:GoranM/bdx

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

7条回答

  • weixin_39727005 weixin_39727005 5月前

    It's something on my most wanted list too. I think I can do it, so I'll give it a try.

    & : please say if I should stop assigning myself. I realize that I'm not that experienced and I don't like it when I'm slowing everything down.

    点赞 评论 复制链接分享
  • weixin_39528843 weixin_39528843 5月前

    Psh, nah, man. You're doing great, and your solutions are solid. You're not slowing anything down.

    点赞 评论 复制链接分享
  • weixin_39621819 weixin_39621819 5月前

    You can't really slow anything down. I mean, if we know you're working in a particular area of the code base, we might keep that in mind, and try to stay out of your way (to help you avoid merge conflicts), but there's nothing about your work that could fundamentally prevent anyone from doing their work.

    Worst case scenario: It takes you a bit more time, and you'll have to resolve some conflicts before your work can be merged.

    In either case, you shouldn't rush: Quality > speed.

    点赞 评论 复制链接分享
  • weixin_39727005 weixin_39727005 5月前

    I have a couple of suggestions with this. I would like to shorten the code to get meshName a bit. No need for mesh in Scene.java#L177.

    I also like to rename keys "body" and "bounds" to "body_type" and "bounds_type".

    And should I change body_type in Bullet.py to bodyType, maybe?

    Edit: I could make these changes in a separate commit if necessary, of course.

    点赞 评论 复制链接分享
  • weixin_39621819 weixin_39621819 5月前

    It all sounds good.

    You can include those changes into the current PR for ghost, if you want. Or if you want to make a different PR with those commits, that would also be fine.

    点赞 评论 复制链接分享
  • weixin_39528843 weixin_39528843 5月前
    • A ghost() function was merged to allow you to toggle ghosting for objects; it should be what you need. You should now be enable to close this issue.
    点赞 评论 复制链接分享
  • weixin_39943101 weixin_39943101 5月前

    thx guys

    点赞 评论 复制链接分享

相关推荐