Main Search
Delta Corp Forum Index
 
 
FAQ Members Groups Profile Private Messages

Important Notice: We regret to inform you that our free phpBB forum hosting service will be discontinued by the end of June 30, 2024. If you wish to migrate to our paid hosting service, please contact [email protected].
How to 'break' a model?

 
Post new topic   Reply to topic    Delta Corp Forum Index -> Script Requests
View previous topic :: View next topic  
Author Message
Maxanmum
Avid Poster


Joined: 06 Feb 2008
Posts: 113
Location: In a grocery bag NEAR YOU!

PostPosted: Fri Aug 29, 2008 2:52 am    Post subject: How to 'break' a model? Reply with quote

Basically it's a script that breaks a model apart. It's like the one in briguy's point and click place, except you have to use a tool for the model to break.

Needed Objects: I think you could use 'breakjoints'.
_________________
There was a time when there was time, when time was now upon a time.

O RLY?
Back to top
View user's profile Send private message
chess123mate
Beginner Poster


Joined: 06 Feb 2008
Posts: 40
Location: Canada

PostPosted: Wed Jan 28, 2009 8:13 pm    Post subject: Reply with quote

Put the following in a hopperbin; I think it works. However, it doesn't unanchor things, which may be a problem.

function onClick(mouse)
if mouse.Target==nil then return end
m=mouse.Target.Parent
if m~=workspace then m:BreakJoints() end
end
function onSelect(mouse)
mouse.Button1Down:connect(function() onClick(mouse) end)
end
script.Parent.Selected:connect(onSelect)
Back to top
View user's profile Send private message Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic    Delta Corp Forum Index -> Script Requests All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Back to Top              
Jenova Template © digital-delusion.com
Powered by phpBB © 2001, 2002 phpBB Group



For Support - http://forums.BizHat.com

Free Web Hosting | Free Forum Hosting | FlashWebHost.com | Image Hosting | Photo Gallery | FreeMarriage.com

Powered by PhpBBweb.com, setup your forum now!