About Store Forum Documentation Contact
Donations:
158$/mo



Post Reply 
punch through
Author Message
jamesob1 Offline
Member

Post: #1
punch through
is there a way in the engine too punch through the walls with an other model

trying too use doors and windows on my meshes
and what i want too know if there is a way too punch through the other model

i have say 3 models for my door
the door
the frame
and the punch through

[Image: 1c713d_413cfebd58464f47bf26b9c7e9f7ad1b....00_jpg_srz]
any help would be appreciated.
(This post was last modified: 01-15-2015 01:15 AM by jamesob1.)
01-11-2015 09:56 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Tottel Offline
Member

Post: #2
RE: punch through
I guess you could make different mesh versions (default, partially damaged, damaged, broken), and just swap them out when they have been hit.
01-11-2015 10:33 PM
Find all posts by this user Quote this message in a reply
3DRaddict Offline
Member

Post: #3
RE: punch through
Have a look at the CSG boolean operations in the Mesh Tutorial #13.
That might be your answer to making openings in your wall (or, as you say, "punching through") smile
01-11-2015 11:00 PM
Visit this user's website Find all posts by this user Quote this message in a reply
jamesob1 Offline
Member

Post: #4
RE: punch through
Thanks 3draddict can't get to pc now but will check that out and thanks for quick reply

Oh and thanks tottel for that good idea about swapping them out

But all my models for doors and windows have there own model for punching through walls
(This post was last modified: 01-12-2015 12:56 AM by jamesob1.)
01-12-2015 12:44 AM
Visit this user's website Find all posts by this user Quote this message in a reply
jamesob1 Offline
Member

Post: #5
RE: punch through
hey 3DRaddict or any one i have tryed too add my 2 models the wall and the door punch through but i get all sorts of errors any help i would appreciate

please help under blog link you will see what im trying too do
i haveb pictures of models too show

thanks all

http://tardanator.wix.com/yourworlds#!Er...ion/cp5c/1

i have added the export log file if its any help too any one smile


Attached File(s)
.txt  log.txt (Size: 6.69 KB / Downloads: 4)
(This post was last modified: 01-13-2015 12:31 AM by jamesob1.)
01-13-2015 12:20 AM
Visit this user's website Find all posts by this user Quote this message in a reply
georgatos7 Offline
Member

Post: #6
RE: punch through
Can't help you with CSG but this might suit you as well.

https://www.youtube.com/watch?v=h1_rw6A7...O&index=10

Not sure if it's still supported though.
01-13-2015 02:48 AM
Find all posts by this user Quote this message in a reply
3DRaddict Offline
Member

Post: #7
RE: punch through
Prepare to punch through...

[Image: punchthrough1.jpg]

and punched...

[Image: punchthrough2.jpg]

Here's the CSG project for this

https://dl.dropboxusercontent.com/u/2104...helProject

I'm sure you'll be able to build on this.
Gave me the opportunity to learn something new, as well. smile
01-13-2015 09:08 AM
Visit this user's website Find all posts by this user Quote this message in a reply
jamesob1 Offline
Member

Post: #8
RE: punch through
Hey 3DRaddict thanks for taking the time to help me with this it is really appreciated
That project is perfect for what I'm trying to do, dying too get too pc now lol
Will let you know how I get on k.
01-13-2015 10:21 AM
Visit this user's website Find all posts by this user Quote this message in a reply
jamesob1 Offline
Member

Post: #9
RE: punch through
hey 3DRaddict this is perfect for what im trying to do bud
got it kinda working look at the pictures below


i have updated this main.txt file of my main.h file
hope this helps bud


Attached File(s)
.txt  main.txt (Size: 6.7 KB / Downloads: 2)
(This post was last modified: 01-14-2015 11:30 PM by jamesob1.)
01-14-2015 01:18 PM
Visit this user's website Find all posts by this user Quote this message in a reply
3DRaddict Offline
Member

Post: #10
RE: punch through
Glad it was of some use to you.

Afraid I'm unable to assist you with your query, as I do not own RPG 2 and I'm also a newbie to Esenthel. Maybe some of the more experienced users will be able to help you.

Good luck smile
01-14-2015 03:01 PM
Visit this user's website Find all posts by this user Quote this message in a reply
jamesob1 Offline
Member

Post: #11
RE: punch through
ok thanks for your help so far smile 3DRaddict
01-14-2015 03:17 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Tottel Offline
Member

Post: #12
RE: punch through
Underneath your Init() you seem to have an entire block of code that isn't inside a function. Is that a copy-paste error?
01-14-2015 03:37 PM
Find all posts by this user Quote this message in a reply
jamesob1 Offline
Member

Post: #13
RE: punch through
yeah it was thanks

right i managed too get it kinda working in my test map
not in the rpg 2 source

but cant rescale it
and when i put in a other wall model and punch model nothing happens

[Image: 1c713d_b09104bfba8a4aefb95aeadc19d87ab0....00_jpg_srz]

[Image: 1c713d_1ef0a1272b69460a8662437a842499bf....00_jpg_srz]

[Image: 1c713d_3f75d8c0fa2a400c9c10dda797ea6c40....00_jpg_srz]


and i updated my main.txt file download too get it working this far
(This post was last modified: 01-15-2015 12:09 AM by jamesob1.)
01-14-2015 04:49 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply