5
$\begingroup$

I have a sword attached to a model who swings it every time the mouse is clicked. I would like to know if there is a way the sword could slice though things when it hits them. Is there a way i could limit this to certain objects? That way he wouldn't cut though solid steel. enter image description here

$\endgroup$

1 Answer 1

2
$\begingroup$

You could have the game engine replace the "solid" model with a model representing the "broken" model. Not the best method for realism, but it would work every time :)

enter image description here

$\endgroup$
4
  • $\begingroup$ Yeah but I want the cut to appear where the sword swings. if I clobber that cube on the right side and the left bursts into flame and dies, it kinda loses the effect of cutting. $\endgroup$
    – ruckus
    Dec 12, 2014 at 21:55
  • $\begingroup$ @VinceScalia that sounds like something that would require scripting if I'm not mistaken. $\endgroup$ Dec 12, 2014 at 23:09
  • $\begingroup$ Okay by me. do you have an idea for a script/? $\endgroup$
    – ruckus
    Dec 12, 2014 at 23:17
  • 1
    $\begingroup$ there are some tools like Grease cutter and Bisect that may help with this. You would be in somewhat uncharted areas doing this in a game however and these tools may not even be accessible in the BGE side of things. The IRC channel and #blenderpython may be a good place for you to discuss these things with other people. Also there is #blendercoders but that's more for C/C++ coders who develop for Blender rather than user support. blenderartists.org/forum/showthread.php?316520-Sculpt-Tools and also youtube.com/watch?v=G2CdYFgrP84 $\endgroup$ Dec 13, 2014 at 1:50

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .